Skip to content

Commit

Permalink
cicd: expose port 443 in prod
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorian committed Sep 24, 2024
1 parent f10d15f commit 329e2c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .docker/go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ RUN go mod download
COPY . .

EXPOSE 80
EXPOSE 443

CMD ["air"]
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ jobs:
- name: Remove old images
run: docker rmi $(docker images --filter "dangling=true" -q --no-trunc)
- name: Runs container
run: docker run -d -p 80:80 -e APP_ENV=prod --name burn-secret-web-container dorianneto/burn-secret-web
run: docker run -d -p 80:80 -p 443:443 -e APP_ENV=prod --name burn-secret-web-container dorianneto/burn-secret-web

0 comments on commit 329e2c8

Please sign in to comment.