Feat: added volume, network and port to docker compose #1511
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: docker | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths: | |
- 'backend/**' | |
- 'frontend/**' | |
- 'docker-compose.yml' | |
push: | |
branches: | |
- 'master' | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build backend Docker image | |
run: sudo docker build . | |
working-directory: backend | |
- name: Build frontend Docker image | |
run: sudo docker build . | |
working-directory: frontend |