update permission for /app folder
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -4,6 +4,7 @@ WORKDIR /app
|
|||||||
RUN adduser --disabled-password --home /app reflex
|
RUN adduser --disabled-password --home /app reflex
|
||||||
COPY --chown=reflex --from=gitea.pb42.de/matthias/reflex-ipad:builder /app /app
|
COPY --chown=reflex --from=gitea.pb42.de/matthias/reflex-ipad:builder /app /app
|
||||||
COPY --chown=reflex deploy/* .
|
COPY --chown=reflex deploy/* .
|
||||||
|
RUN chown reflex:reflex /app
|
||||||
USER reflex
|
USER reflex
|
||||||
ENV PATH="/app/.venv/bin:$PATH" API_URL=$API_URL
|
ENV PATH="/app/.venv/bin:$PATH" API_URL=$API_URL
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user