From 26e04ad6cfcf89dc2b5d8b12ac7ee1ed0bbdcd1b Mon Sep 17 00:00:00 2001 From: Sebastian Pietschner Date: Wed, 15 Jun 2022 22:49:12 +1000 Subject: [PATCH] user --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 626cebe..7d3c620 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,6 +38,7 @@ RUN yarn install --production --frozen-lockfile COPY --from=build /app/node_modules/.prisma /app/node_modules/.prisma COPY --from=build /app/dist dist RUN adduser -H -D container -s /bin/bash +ENV USER=container HOME=/home/container USER container COPY entrypoint.sh /entrypoint.sh