Allocate 8GB of memory to docker container. Adjust path to Dockerfile in Github action

This commit is contained in:
Saba 2022-07-04 14:01:59 -04:00
parent 092d0f2f21
commit 0f88abd219
2 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@ jobs:
uses: docker/build-push-action@v2
with:
context: .
file: config/Dockerfile
file: Dockerfile
push: true
tags: ghcr.io/${{ github.repository }}:latest
build-args: |

View file

@ -31,6 +31,6 @@ services:
deploy:
resources:
limits:
memory: 2GB
memory: 8GB
# Use 0.0.0.0 to explicitly set the host ip for the service on the container. https://pythonspeed.com/articles/docker-connection-refused/
command: --host="0.0.0.0" --port=8000 -c=config/sample_config.yml -vv