Skip to content

Commit 9fed66a

Browse files
committed
AT-06 deployment prepare scripts
1 parent 91bd394 commit 9fed66a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

backend/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,15 @@ COPY app/ ./app/
1010
COPY migrations/ ./migrations/
1111
COPY run.py .
1212
COPY seed_data.py .
13+
COPY startup.sh .
1314

1415
ENV FLASK_APP=run.py
1516
ENV FLASK_ENV=production
1617
ENV PYTHONPATH=/app
1718

1819
EXPOSE 8000
1920

20-
CMD ["python3", "run.py"]
21+
# Make startup script executable
22+
RUN chmod +x startup.sh
23+
24+
CMD ["./startup.sh"]

0 commit comments

Comments
 (0)