diff options
author | 2018-05-02 18:23:16 +0200 | |
---|---|---|
committer | 2018-05-02 18:23:16 +0200 | |
commit | bb0a8a528a1deed6cc42683ae02624da3f35fd4d (patch) | |
tree | 3427203eacc789ca69f8f83d8de0767dd0dcfbf6 | |
parent | [Wiki] 7rem wasn't quite enough for the sidebar (diff) |
upgrades alpine and adds docker commands to pipenv (#65)
-rw-r--r-- | Pipfile | 4 | ||||
-rw-r--r-- | docker/Dockerfile.base | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -41,3 +41,7 @@ start = "gunicorn -w 12 -b 0.0.0.0:10012 -c gunicorn_config.py --log-level info lint = "python -m flake8" test = "py.test app_test.py --cov pysite --cov-report term-missing -v" clean = "rm -rf __pycache__ htmlcov .coverage .pytest_cache" +build = "docker build -t pythondiscord/site:latest -f docker/Dockerfile ." +push = "docker push pythondiscord/site:latest" +buildbase = "docker build -t pythondiscord/site-base:latest -f docker/Dockerfile.base ." +pushbase = "docker push pythondiscord/site-base:latest" diff --git a/docker/Dockerfile.base b/docker/Dockerfile.base index 87c6fd73..a09a04e8 100644 --- a/docker/Dockerfile.base +++ b/docker/Dockerfile.base @@ -1,4 +1,4 @@ -FROM python:3.6-alpine +FROM python:3.6-alpine3.7 RUN apk add --update tini RUN apk add --update git |