forked from leaguilar/AIknowthatfeel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
23 lines (18 loc) · 683 Bytes
/
Copy pathDockerfile
File metadata and controls
23 lines (18 loc) · 683 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Use an official Python runtime as a parent image
FROM python:3.7-slim
RUN mkdir p /data
# Set the working directory to /app
WORKDIR /app
COPY requirements.txt /app
# Install any needed packages specified in requirements.txt
RUN pip install --trusted-host pypi.python.org -r requirements.txt
# Copy the current directory contents into the container at /app
COPY libs /app/libs
COPY models /app/models
COPY data_test /app/data_test
COPY data_dev /app/data_dev
COPY evaluate_model.py /app
# Run app.py when the container launches
#You can test it this way
#CMD ["python", "evaluate_model.py", "dev.txt", "data_dev/"]
CMD ["python", "evaluate_model.py", "test.txt", "data_test/"]