adowu commited on
Commit
cb779c0
·
verified ·
1 Parent(s): 4d90c93

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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
- # Make port available to the world outside this container (if you add a server later)
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"]