Create a dockerfile for running the model code locally or in azure #1
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: Build container image | |
on: | |
workflow_dispatch: | |
# These should be removed once the PR is merged. See | |
# https://stackoverflow.com/questions/63362126/github-actions-how-can-i-run-a-workflow-created-on-a-non-master-branch-from-t | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Installs podman | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y --no-install-recommends podman | |
- name: Build container image | |
run: | | |
make image-build | |
working-directory: model |