ilhamap commited on
Commit
84c69b4
·
verified ·
1 Parent(s): 8746793

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -1,9 +1,10 @@
1
  FROM python:3.9-slim
2
- WORKDIR ./app
3
  COPY requirements.txt ./requirements.txt
4
  RUN apt-get update \
5
  && apt-get -y install libpq-dev gcc \
6
  && pip install psycopg2
7
  # Install dependencies
8
  RUN pip install -r requirements.txt
 
9
  CMD ["python", "main.py"]
 
1
  FROM python:3.9-slim
2
+ WORKDIR /app
3
  COPY requirements.txt ./requirements.txt
4
  RUN apt-get update \
5
  && apt-get -y install libpq-dev gcc \
6
  && pip install psycopg2
7
  # Install dependencies
8
  RUN pip install -r requirements.txt
9
+ COPY . /app
10
  CMD ["python", "main.py"]