Update Dockerfile
Browse files- Dockerfile +9 -1
Dockerfile
CHANGED
|
@@ -2,7 +2,15 @@ FROM python:3.10.9
|
|
| 2 |
|
| 3 |
COPY . .
|
| 4 |
|
| 5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
RUN apt-get update && apt-get install -y \
|
| 8 |
libgl1-mesa-glx \
|
|
|
|
| 2 |
|
| 3 |
COPY . .
|
| 4 |
|
| 5 |
+
|
| 6 |
+
# Set the working directory to /app
|
| 7 |
+
WORKDIR /app
|
| 8 |
+
|
| 9 |
+
# Create a directory for storing downloaded PDF files
|
| 10 |
+
RUN mkdir /app/downloads
|
| 11 |
+
|
| 12 |
+
# Copy the current directory contents into the container at /app
|
| 13 |
+
COPY . /app
|
| 14 |
|
| 15 |
RUN apt-get update && apt-get install -y \
|
| 16 |
libgl1-mesa-glx \
|