Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +0 -5
Dockerfile
CHANGED
@@ -36,11 +36,6 @@ WORKDIR /home/user/app
|
|
36 |
RUN pip install --no-cache-dir --upgrade pip setuptools wheel && \
|
37 |
pip install --no-cache-dir -r requirements.txt
|
38 |
|
39 |
-
# Do a test run to make sure that the base models are pre-downloaded and baked into the image
|
40 |
-
RUN echo "This is a test sentence." > test.txt
|
41 |
-
RUN python app.py --headless --ebook test.txt
|
42 |
-
RUN rm test.txt
|
43 |
-
|
44 |
# Expose the application port
|
45 |
EXPOSE 7860
|
46 |
|
|
|
36 |
RUN pip install --no-cache-dir --upgrade pip setuptools wheel && \
|
37 |
pip install --no-cache-dir -r requirements.txt
|
38 |
|
|
|
|
|
|
|
|
|
|
|
39 |
# Expose the application port
|
40 |
EXPOSE 7860
|
41 |
|