From 6a6d206bc471c970555b9154a81cd2f12c6cf60f Mon Sep 17 00:00:00 2001 From: Marcin Kostrzewski Date: Tue, 15 Nov 2022 20:41:22 +0100 Subject: [PATCH] fix permissions --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 650ff8a..1bb7ea7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,9 +6,10 @@ ADD localtime /etc/localtime ADD timezone /etc/timezone COPY --chown=root:root run.sh /usr/local/bin/ +USER root RUN chmod 755 /usr/local/bin/run.sh - +USER 1000:1000 ARG DATABASE_URL='db:5432' ENV DATABASE_URL=${DATABASE_URL}