diff --git a/Dockerfile b/Dockerfile index 83c8282..67afb67 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,8 @@ COPY --link . . FROM node:18-alpine AS runner RUN apk --no-cache add curl \ && adduser --disabled-password --home /home/container container \ - && mkdir /app + && mkdir /app \ + && chmod -R 777 /app USER container ENV USER=container \ HOME=/home/container \ diff --git a/scripts/start.sh b/scripts/start.sh index f1e1c72..5587bf7 100755 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -1,4 +1,5 @@ #!/usr/bin/env sh + if [ "$DOCKER" = "true" ]; then base_dir="/app" else