Update Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
|
@@ -4,6 +4,12 @@ FROM python:3.9-slim
|
|
| 4 |
# Set the working directory in the container
|
| 5 |
WORKDIR /usr/src/app
|
| 6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
# Install curl
|
| 8 |
RUN apt-get update && \
|
| 9 |
apt-get install -y curl && \
|
|
|
|
| 4 |
# Set the working directory in the container
|
| 5 |
WORKDIR /usr/src/app
|
| 6 |
|
| 7 |
+
COPY ./requirements.txt /code/requirements.txt
|
| 8 |
+
|
| 9 |
+
COPY . .
|
| 10 |
+
|
| 11 |
+
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 12 |
+
|
| 13 |
# Install curl
|
| 14 |
RUN apt-get update && \
|
| 15 |
apt-get install -y curl && \
|