migrate health_check.py to python3

This commit is contained in:
Harry Chen committed 2021-10-25 20:49:10 -07:00
1 parent d98b71f9e8
commit 7fab75e187
2 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ ENV OJ_ENV production
ADD . /app
WORKDIR /app
HEALTHCHECK --interval=5s --retries=3 CMD python2 /app/deploy/health_check.py
HEALTHCHECK --interval=5s --retries=3 CMD python3 /app/deploy/health_check.py
RUN apk add --update --no-cache build-base nginx openssl curl unzip supervisor jpeg-dev zlib-dev postgresql-dev freetype-dev && \
pip install --no-cache-dir -r /app/deploy/requirements.txt && \