Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -9,6 +9,8 @@ COPY . /app
|
|
9 |
|
10 |
# Install any needed packages specified in requirements.txt
|
11 |
RUN pip install --trusted-host pypi.python.org -r requirements.txt
|
|
|
|
|
12 |
RUN chmod 777 /.cache
|
13 |
|
14 |
# Make port 80 available to the world outside this container
|
@@ -18,4 +20,4 @@ EXPOSE 80
|
|
18 |
ENV NAME World
|
19 |
|
20 |
# Run app.py when the container launches
|
21 |
-
CMD ["python", "app.py"]
|
|
|
9 |
|
10 |
# Install any needed packages specified in requirements.txt
|
11 |
RUN pip install --trusted-host pypi.python.org -r requirements.txt
|
12 |
+
|
13 |
+
# Change the permissions of the /.cache directory
|
14 |
RUN chmod 777 /.cache
|
15 |
|
16 |
# Make port 80 available to the world outside this container
|
|
|
20 |
ENV NAME World
|
21 |
|
22 |
# Run app.py when the container launches
|
23 |
+
CMD ["python", "app.py"]
|