First prototype of Dockerfile

This commit is contained in:
Jef Roosens 2021-12-30 22:28:24 +01:00
parent 26b2745e9b
commit 63af040a38
Signed by: Jef Roosens
GPG key ID: 955C0660072F691F
8 changed files with 97 additions and 1 deletions

View file

@ -16,3 +16,15 @@ venv: $(VENV)/bin/activate
clean:
@ rm -rf '$(VENV)'
.PHONY: clean
run:
@ API_KEY=test REPO_DIR=data '$(VENV)/bin/flask' run
.PHONY: run
gunicorn:
@ API_KEY=test REPO_DIR=data '$(VENV)/bin/gunicorn' app:app
.PHONY: gunicorn
image:
@ docker build -t chewingbever/arch-repo .
.PHONY: image