From bb0a8a528a1deed6cc42683ae02624da3f35fd4d Mon Sep 17 00:00:00 2001 From: Christopher Baklid Date: Wed, 2 May 2018 18:23:16 +0200 Subject: upgrades alpine and adds docker commands to pipenv (#65) --- Pipfile | 4 ++++ docker/Dockerfile.base | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Pipfile b/Pipfile index 13811259..a9315ea1 100644 --- a/Pipfile +++ b/Pipfile @@ -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 -- cgit v1.2.3