Moderator404 commited on
Commit
2883155
·
verified ·
1 Parent(s): b4322d4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -17,5 +17,9 @@ ENV DATABASE_PATH="/app/data/tmc_customer_service.db"
17
 
18
  RUN mkdir -p /app/data
19
 
 
 
 
20
  EXPOSE 7860
21
- CMD ["python", "app.py"]
 
 
17
 
18
  RUN mkdir -p /app/data
19
 
20
+ COPY entrypoint.sh /entrypoint.sh
21
+ RUN chmod +x /entrypoint.sh
22
+
23
  EXPOSE 7860
24
+
25
+ ENTRYPOINT ["/entrypoint.sh"]