Compare commits
2 Commits
8506d221c0
...
2ad061584a
Author | SHA1 | Date | |
---|---|---|---|
2ad061584a | |||
ace3527c66 |
@ -12,6 +12,7 @@ COPY pyproject.toml /app
|
|||||||
RUN poetry export --without-hashes -f requirements.txt | pip install -r /dev/stdin
|
RUN poetry export --without-hashes -f requirements.txt | pip install -r /dev/stdin
|
||||||
|
|
||||||
# Add remaining files
|
# Add remaining files
|
||||||
COPY . /app/
|
COPY app.py .
|
||||||
|
COPY chalicelib/ .
|
||||||
|
|
||||||
CMD ["gunicorn" , "-b", "0.0.0.0:8000", "app:app"]
|
CMD ["gunicorn" , "-b", "0.0.0.0:8000", "app:app"]
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"s3:GetObject"
|
"s3:GetObject"
|
||||||
],
|
],
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"arn:aws:s3::treadl-files/*"
|
"arn:aws:s3::treadl/*"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -8,7 +8,7 @@ export MONGO_DATABASE="treadl"
|
|||||||
export JWT_SECRET="devsecret"
|
export JWT_SECRET="devsecret"
|
||||||
export GOOGLE_APPLICATION_CREDENTIALS="chalicelib/firebase.json"
|
export GOOGLE_APPLICATION_CREDENTIALS="chalicelib/firebase.json"
|
||||||
export AWS_S3_ENDPOINT="https://eu-central-1.linodeobjects.com/"
|
export AWS_S3_ENDPOINT="https://eu-central-1.linodeobjects.com/"
|
||||||
export AWS_S3_BUCKET="treadl-files"
|
export AWS_S3_BUCKET="treadl"
|
||||||
export AWS_ACCESS_KEY_ID=""
|
export AWS_ACCESS_KEY_ID=""
|
||||||
export AWS_SECRET_ACCESS_KEY=""
|
export AWS_SECRET_ACCESS_KEY=""
|
||||||
export CONTACT_EMAIL="hello@treadl.com"
|
export CONTACT_EMAIL="hello@treadl.com"
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user