upload
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
|
@@ -4,6 +4,11 @@ FROM python:3.9-slim
|
|
| 4 |
# Set the working directory to /app
|
| 5 |
WORKDIR /app
|
| 6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
# Copy the requirements file into the container
|
| 8 |
COPY requirements.txt .
|
| 9 |
COPY serve_grobid.sh .
|
|
|
|
| 4 |
# Set the working directory to /app
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
+
# make directory /app/files/
|
| 8 |
+
RUN mkdir /app/files/
|
| 9 |
+
# grant permission to write to /app/files/
|
| 10 |
+
RUN chmod 777 /app/files/
|
| 11 |
+
|
| 12 |
# Copy the requirements file into the container
|
| 13 |
COPY requirements.txt .
|
| 14 |
COPY serve_grobid.sh .
|