Skip to content

Commit d6bfb7c

Browse files
authored
cicd: fix elastic beanstalk deployment (#537)
* Update Procfile command * Remove unused EBSampleApp-Python.iml * Update log path
1 parent 0cf8881 commit d6bfb7c

File tree

3 files changed

+2
-20
lines changed

3 files changed

+2
-20
lines changed

EBSampleApp-Python.iml

Lines changed: 0 additions & 18 deletions
This file was deleted.

Procfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web: gunicorn -k uvicorn.workers.UvicornWorker variation.main:app --timeout 1000 --log-level debug
1+
web: cd src && gunicorn -k uvicorn.workers.UvicornWorker variation.main:app --timeout 1000 --log-level debug

src/variation/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from os import environ
44

55
if "VARIATION_NORM_EB_PROD" in environ:
6-
LOG_FN = "/var/variation.log"
6+
LOG_FN = "/tmp/variation.log" # noqa: S108
77
else:
88
LOG_FN = "variation.log"
99

0 commit comments

Comments
 (0)