dockerfile cleanup

This commit is contained in:
hay-kot 2021-02-12 15:03:40 -09:00
commit dc6ff37252
2 changed files with 6 additions and 5 deletions

View file

@ -1,3 +1,5 @@
*/node_modules
*/dist
*/data/db
*/data/db
*/mealie/test
*/mealie/.temp

View file

@ -31,11 +31,10 @@ RUN apk add --update --no-cache --virtual .build-deps \
COPY ./mealie /app
COPY ./Caddyfile /app
COPY ./app_data/templates /app/data/templates
RUN rm -rf /app/tests /app/.temp
COPY --from=build-stage /app/dist /app/dist
RUN rm -rf /app/test /app/.temp
VOLUME [ "/app/data/" ]
RUN chmod +x /app/run.sh
CMD /app/run.sh
# CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "80"]
CMD /app/run.sh