Skip to content

corrections - building docker and running in the same job env #47

corrections - building docker and running in the same job env

corrections - building docker and running in the same job env #47

Workflow file for this run

name: Docker Image CI
on:
push:
paths:
- '.github/workflows/docker-image.yml'
# branches:
# - "develop"
jobs:
built:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build --tag ai4eu_server_demo:latest -f Dockerfile .
- name: Run docker container
run: |
docker run --entrypoint "" ai4eu_server_demo pip install --user ".[dev]" && pytest test