mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Genericized containerfile
This commit is contained in:
parent
68fd6fe65f
commit
66d703b623
1
.github/workflows/dockerhub.yml
vendored
1
.github/workflows/dockerhub.yml
vendored
@ -35,6 +35,7 @@ jobs:
|
|||||||
uses: docker/build-push-action@7f9d37fa544684fb73bfe4835ed7214c255ce02b
|
uses: docker/build-push-action@7f9d37fa544684fb73bfe4835ed7214c255ce02b
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
|
file: {context}/Containerfile
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
@ -48,7 +48,7 @@ You can also build the package with
|
|||||||
You can also always build and run the server with
|
You can also always build and run the server with
|
||||||
|
|
||||||
```console
|
```console
|
||||||
sh ./dev/dockerrun.sh
|
sh ./dev/run_docker.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
This will use the directory `testdata`.
|
This will use the directory `testdata`.
|
||||||
|
@ -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
|
docker run --rm -p 42010:42010 -v $PWD/testdata:/mlj -e MALOJA_DATA_DIRECTORY=/mlj maloja
|
2
dev/run_podman.sh
Normal file
2
dev/run_podman.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user