mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Use previous code
This commit is contained in:
@@ -39,8 +39,7 @@ FROM hkotel/mealie:latest
|
||||
|
||||
# Copy the rebuilt frontend files into the final image
|
||||
WORKDIR /mealie
|
||||
RUN rm -rf ./mealie/frontend
|
||||
COPY --from=frontend-builder /frontend/dist ./mealie/frontend
|
||||
COPY --from=frontend-builder /frontend/dist /mealie/frontend
|
||||
|
||||
##################
|
||||
# 2 Modify Image #
|
||||
@@ -54,6 +53,9 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
|
||||
# Correct data path
|
||||
# hadolint ignore=DL4006,DL3003
|
||||
RUN \
|
||||
# Copy frontend
|
||||
cd /opt/mealie/lib/python*/site-packages/mealie && \
|
||||
rm -r frontend && mv /mealie/frontend . && \
|
||||
# avoid changing user
|
||||
sed -i "s|change_user$|# change_user|g" /app/run.sh && sed -i 's|\${!file_var}|${!file_var:-}|g' /app/run.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user