Fix CMD for alpine

This commit is contained in:
Gabriel Augendre 2018-06-20 00:33:34 +02:00
parent f35e5aabab
commit 383beb9c51

View file

@ -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"]