fix: chown files directly at copy (#3066)

This commit is contained in:
Manuel Schmid
2024-05-31 22:41:36 +02:00
committed by GitHub
parent 7899261755
commit 07c6c89edf
+1 -1
View File
@@ -23,7 +23,7 @@ RUN chown -R user:user /content
WORKDIR /content WORKDIR /content
USER user USER user
COPY . /content/app COPY --chown=user:user . /content/app
RUN mv /content/app/models /content/app/models.org RUN mv /content/app/models /content/app/models.org
CMD [ "sh", "-c", "/content/entrypoint.sh ${CMDARGS}" ] CMD [ "sh", "-c", "/content/entrypoint.sh ${CMDARGS}" ]