diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0d85c1b..18f2ecb 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,7 +22,7 @@ jobs: run: env >> .env - name: Build production container - run: docker build --tag docker.pkg.github.com/${GITHUB_REPOSITORY,,}/theorangeone.net:latest --env-file .env . + run: docker build --tag docker.pkg.github.com/${GITHUB_REPOSITORY,,}/theorangeone.net:latest . - name: Log into GitHub Docker Registry run: echo ${{ secrets.GITHUB_TOKEN }} | docker login docker.pkg.github.com -u ${GITHUB_REPOSITORY%/*} --password-stdin diff --git a/docker-compose.yml b/docker-compose.yml index 5f5e66d..55074e5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,6 @@ services: website: build: context: . - env_file: .env volumes: - "./public:/usr/share/nginx/html:ro" - "./nginx.conf:/etc/nginx/nginx.conf:ro"