Update Dockerfile
Browse files- Dockerfile +2 -11
Dockerfile
CHANGED
@@ -41,14 +41,5 @@ ENV PLAYWRIGHT_BROWSERS_PATH=/ms-playwright
|
|
41 |
RUN mkdir -p $PLAYWRIGHT_BROWSERS_PATH \
|
42 |
&& playwright install chromium --with-deps
|
43 |
|
44 |
-
|
45 |
-
|
46 |
-
# EXPOSE 8000
|
47 |
-
|
48 |
-
# Define environment variables (replace with your actual username and password)
|
49 |
-
# Best practice: Use Docker secrets or environment variables during `docker run`
|
50 |
-
# ENV HUGGINGFACE_USERNAME=your_username
|
51 |
-
# ENV HUGGINGFACE_PASSWORD=your_password
|
52 |
-
|
53 |
-
# Run the app when the container launches
|
54 |
-
CMD ["python", "app.py.py"]
|
|
|
41 |
RUN mkdir -p $PLAYWRIGHT_BROWSERS_PATH \
|
42 |
&& playwright install chromium --with-deps
|
43 |
|
44 |
+
# Run the app when the container launches. Using the full path to app.py
|
45 |
+
CMD ["python", "/app/app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|