There was an error while loading. Please reload this page.
1 parent 01399fd commit 4d5d62fCopy full SHA for 4d5d62f
1 file changed
.meta/deploy/Dockerfile
@@ -16,4 +16,6 @@ COPY ../../README.md .
16
RUN ["poetry", "install"]
17
18
# run the app
19
-CMD ["make", "wakeup_anna"]
+# 의존성은 빌드 시 이미 설치됨 — 부팅 시 재설치 없이 곧바로 서버를 띄워야
20
+# fly가 머신 시작 직후 검사하는 리스닝 소켓 체크(0.0.0.0:8080)를 통과한다
21
+CMD ["poetry", "run", "gunicorn", "--chdir", "src", "anna:flask_app", "--bind", "0.0.0.0:8080", "--workers", "1", "--threads", "8", "--timeout", "120"]
0 commit comments