Skip to content

Commit 8e903aa

Browse files
committed
fix(ci): remove initdb
1 parent fda120f commit 8e903aa

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
FROM python:3.11
2+
23
WORKDIR /src/
4+
35
ADD ./src /src/
46
ADD requirements.txt /src
5-
RUN ls -la
7+
68
RUN pip install -r requirements.txt
7-
EXPOSE 3306
8-
RUN python3 init_db.py
9-
#CMD ["flask", "run", "-h", "0.0.0.0", "-p", "8000"]
9+
10+
EXPOSE 8000
11+
1012
CMD ["gunicorn", "-b", "0.0.0.0:8000", "-w","4", "app:app", "--preload"]

0 commit comments

Comments
 (0)