aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Pipfile4
-rw-r--r--docker/Dockerfile.base2
2 files changed, 5 insertions, 1 deletions
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