From 8fe70fda82792852424e1aca4432c3c936aa226c Mon Sep 17 00:00:00 2001 From: devthejo Date: Tue, 5 Sep 2023 10:48:02 +0200 Subject: [PATCH] fix: perms --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7fa6fa8..13f26c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,7 @@ FROM node:16-alpine as builder RUN apk add --no-cache gcc autoconf automake build-base libpng-dev nasm -RUN chmod 0755 /home/node - +RUN mkdir /app && chown 1000:1000 /app USER 1000 WORKDIR /app