fix permissions

This commit is contained in:
Marcin Kostrzewski 2022-11-15 20:41:22 +01:00
parent 4f84aab109
commit 6a6d206bc4

View File

@ -6,9 +6,10 @@ ADD localtime /etc/localtime
ADD timezone /etc/timezone ADD timezone /etc/timezone
COPY --chown=root:root run.sh /usr/local/bin/ COPY --chown=root:root run.sh /usr/local/bin/
USER root
RUN chmod 755 /usr/local/bin/run.sh RUN chmod 755 /usr/local/bin/run.sh
USER 1000:1000
ARG DATABASE_URL='db:5432' ARG DATABASE_URL='db:5432'
ENV DATABASE_URL=${DATABASE_URL} ENV DATABASE_URL=${DATABASE_URL}