First prototype of Dockerfile
This commit is contained in:
parent
26b2745e9b
commit
63af040a38
8 changed files with 97 additions and 1 deletions
12
Makefile
12
Makefile
|
|
@ -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
|
||||
|
|
|
|||
Reference in a new issue