added env stuff for python
1 file changed, +3 -0
+3-0Dockerfile
| @@ -3,6 +3,9 @@ RUN apk update && apk upgrade --available | ||
| 3 | 3 | RUN apk add --update python3 nodejs npm postgresql postgresql-jit nginx redis |
| 4 | 4 | RUN mkdir /run/postgresql |
| 5 | 5 | RUN chown postgres:postgres /run/postgresql |
| 6 | +ENV IS_DOCKER=1 | |
| 7 | +ENV PYTHONDONTWRITEBYTECODE=1 | |
| 8 | +ENV PYTHONUNBUFFERED=1 | |
| 6 | 9 | |
| 7 | 10 | COPY docker-entrypoint.sh / |
| 8 | 11 | COPY sample /sample |