We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91bd394 commit 9fed66aCopy full SHA for 9fed66a
1 file changed
backend/Dockerfile
@@ -10,11 +10,15 @@ COPY app/ ./app/
10
COPY migrations/ ./migrations/
11
COPY run.py .
12
COPY seed_data.py .
13
+COPY startup.sh .
14
15
ENV FLASK_APP=run.py
16
ENV FLASK_ENV=production
17
ENV PYTHONPATH=/app
18
19
EXPOSE 8000
20
-CMD ["python3", "run.py"]
21
+# Make startup script executable
22
+RUN chmod +x startup.sh
23
+
24
+CMD ["./startup.sh"]
0 commit comments