no-name-here commited on
Commit
f291f26
·
verified ·
1 Parent(s): d08f4e6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -1,6 +1,7 @@
1
  FROM python:3.11-slim-bookworm
2
 
3
  ENV TZ=Asia/Dhaka
 
4
  ARG DEBIAN_FRONTEND=noninteractive
5
 
6
  RUN apt-get update && \
@@ -19,4 +20,4 @@ COPY . /app
19
 
20
  # Webhook mode: expose port and run with uvicorn
21
  EXPOSE 8000
22
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
 
1
  FROM python:3.11-slim-bookworm
2
 
3
  ENV TZ=Asia/Dhaka
4
+ ENV PYTHONPATH=/app
5
  ARG DEBIAN_FRONTEND=noninteractive
6
 
7
  RUN apt-get update && \
 
20
 
21
  # Webhook mode: expose port and run with uvicorn
22
  EXPOSE 8000
23
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]