Genericized containerfile

This commit is contained in:
krateng 2022-03-24 03:38:06 +01:00
parent 68fd6fe65f
commit 66d703b623
6 changed files with 5 additions and 2 deletions

View File

@ -35,6 +35,7 @@ jobs:
uses: docker/build-push-action@7f9d37fa544684fb73bfe4835ed7214c255ce02b
with:
context: .
file: {context}/Containerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

View File

@ -48,7 +48,7 @@ You can also build the package with
You can also always build and run the server with
```console
sh ./dev/dockerrun.sh
sh ./dev/run_docker.sh
```
This will use the directory `testdata`.

View File

@ -1,2 +1,2 @@
docker build -t maloja . -f Dockerfile
docker build -t maloja . -f Containerfile
docker run --rm -p 42010:42010 -v $PWD/testdata:/mlj -e MALOJA_DATA_DIRECTORY=/mlj maloja

2
dev/run_podman.sh Normal file
View File

@ -0,0 +1,2 @@
podman build -t maloja . -f Containerfile
podman run --rm -p 42010:42010 -v $PWD/testdata:/mlj -e MALOJA_DATA_DIRECTORY=/mlj maloja