Skip to content

Commit de6b628

Browse files
fixed docker integration
1 parent c8dc5ac commit de6b628

30 files changed

+11
-2
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
FROM python:3
22

33
WORKDIR /usr/src/app
4-
COPY app ./
4+
COPY src ./
55
RUN pip install --no-cache-dir -r requirements.txt
66
EXPOSE 8080
77
RUN chown -R 1001:1001 .
88
USER 1001
9-
CMD gunicorn -w 4 -b 0.0.0.0:8080 run:"app:create_app()"
9+
RUN chmod +x /usr/src/app/docker-entrypoint.sh
10+
ENTRYPOINT [ "/usr/src/app/docker-entrypoint.sh" ]

0 commit comments

Comments
 (0)