Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +1 -5
Dockerfile
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
# Use your base Docker image from Docker Hub
|
2 |
-
FROM circulartextapp/
|
3 |
-
|
4 |
|
5 |
# Create a non-root user
|
6 |
RUN adduser --disabled-password --gecos '' appuser
|
@@ -18,9 +17,6 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
18 |
# Copy the rest of your application files
|
19 |
COPY . .
|
20 |
|
21 |
-
# Create a directory for storing files and set permissions
|
22 |
-
RUN mkdir /code/files && chmod 777 /code/files
|
23 |
-
|
24 |
# Copy the entrypoint script
|
25 |
COPY ./entrypoint.sh /entrypoint.sh
|
26 |
|
|
|
1 |
# Use your base Docker image from Docker Hub
|
2 |
+
FROM circulartextapp/speedreaddock
|
|
|
3 |
|
4 |
# Create a non-root user
|
5 |
RUN adduser --disabled-password --gecos '' appuser
|
|
|
17 |
# Copy the rest of your application files
|
18 |
COPY . .
|
19 |
|
|
|
|
|
|
|
20 |
# Copy the entrypoint script
|
21 |
COPY ./entrypoint.sh /entrypoint.sh
|
22 |
|