Merge pull request #7 from bitnami/python3

Switch example to python3
This commit is contained in:
Marko Mikulicic 2019-12-03 16:53:06 +01:00 committed by GitHub
commit b19ae96105
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM bitnami/python:2 as builder
FROM bitnami/python:3 as builder
COPY . /app
WORKDIR /app
RUN virtualenv . && \
@ -6,7 +6,7 @@ RUN virtualenv . && \
pip install django && \
python manage.py migrate
FROM bitnami/python:2-prod
FROM bitnami/python:3-prod
COPY --from=builder /app /app
WORKDIR /app
EXPOSE 8000