Skip to content

Commit 5cdbfc7

Browse files
committed
change
1 parent cef9c15 commit 5cdbfc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ ARG FUNCTION_DIR
140140

141141
WORKDIR ${FUNCTION_DIR}
142142

143-
RUN groupadd -r app && useradd -r -g app app
143+
RUN groupadd -r app && useradd -r -g app app && mkdir -p ${FUNCTION_DIR} && chown -R app:app ${FUNCTION_DIR}
144144

145145
COPY --chown=app:app --from=js-stage ${FUNCTION_DIR}/dist/*.html ${FUNCTION_DIR}/custom_admin/templates/astro/
146146
COPY --chown=app:app --from=js-stage ${FUNCTION_DIR}/dist/_astro ${FUNCTION_DIR}/custom_admin/static/_astro/

0 commit comments

Comments
 (0)