Refactor Docker build and automatically push images (#41)

Refactor Docker build / Add GitHub workflow for creating and publishing Docker image
This commit is contained in:
Jochen Schalanda
2022-01-24 16:41:23 +01:00
committed by GitHub
parent 0de6d3df04
commit 2764b2b776
5 changed files with 71 additions and 38 deletions

View File

@@ -4,10 +4,8 @@ services:
container_name: fredy
# build from empty build folder to reduce size of image
build:
context: ./build
context: .
dockerfile: Dockerfile
args:
repo: https://github.com/orangecoding/fredy.git
image: fredy/fredy
# map existing config and database
volumes: