set env PRODUCTION

This commit is contained in:
hay-kot 2021-04-10 19:16:51 -08:00
commit b6969c4fff
2 changed files with 4 additions and 1 deletions

View file

@ -20,7 +20,7 @@ RUN apk add --no-cache libxml2-dev \
zlib-dev
ENV ENV True
ENV PRODUCTION true
EXPOSE 80
WORKDIR /app/
@ -48,6 +48,7 @@ COPY ./dev/data/templates /app/data/templates
COPY --from=build-stage /app/dist /app/dist
VOLUME [ "/app/data/" ]
RUN chmod +x /app/mealie/run.sh
CMD /app/mealie/run.sh

View file

@ -2,6 +2,8 @@ FROM python:3
WORKDIR /app/
ENV PRODUCTION false
RUN apt-get update -y && \
apt-get install -y python-pip python-dev