mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -07:00
dockerfile cleanup
This commit is contained in:
parent
228558405e
commit
dc6ff37252
2 changed files with 6 additions and 5 deletions
|
@ -1,3 +1,5 @@
|
||||||
*/node_modules
|
*/node_modules
|
||||||
*/dist
|
*/dist
|
||||||
*/data/db
|
*/data/db
|
||||||
|
*/mealie/test
|
||||||
|
*/mealie/.temp
|
|
@ -31,11 +31,10 @@ RUN apk add --update --no-cache --virtual .build-deps \
|
||||||
|
|
||||||
COPY ./mealie /app
|
COPY ./mealie /app
|
||||||
COPY ./Caddyfile /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
|
COPY --from=build-stage /app/dist /app/dist
|
||||||
RUN rm -rf /app/test /app/.temp
|
|
||||||
|
|
||||||
VOLUME [ "/app/data/" ]
|
VOLUME [ "/app/data/" ]
|
||||||
RUN chmod +x /app/run.sh
|
RUN chmod +x /app/run.sh
|
||||||
CMD /app/run.sh
|
CMD /app/run.sh
|
||||||
|
|
||||||
# CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "80"]
|
|
Loading…
Add table
Add a link
Reference in a new issue