From 383beb9c51fa0871ec53a55de250f1129bd5a087 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Wed, 20 Jun 2018 00:33:34 +0200 Subject: [PATCH] Fix CMD for alpine --- Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 74f5f35..5f74b9b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,5 @@ FROM python:3.6-alpine -#RUN ln -fs /usr/share/zoneinfo/Europe/Paris /etc/localtime && \ -# dpkg-reconfigure -f noninteractive tzdata - RUN apk add --update postgresql-libs && \ apk add --udpate --virtual .build-deps gcc musl-dev postgresql-dev tzdata && \ cp /usr/share/zoneinfo/Europe/Paris /etc/localtime && \ @@ -20,7 +17,7 @@ RUN apk del .build-deps COPY . ./ -CMD ["bash", "bash/run-prod.sh"] +CMD ["sh", "bash/run-prod.sh"] HEALTHCHECK --interval=10s --timeout=10s CMD ["pipenv", "run", "python", "healthcheck.py"]