diff --git a/frontend/Dockerfile b/frontend/Dockerfile index dd60b1e..3963a74 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -12,7 +12,10 @@ RUN find . -type f ! -path '*/node_modules/*' -print0 | xargs -0 dos2unix EXPOSE 56000 +RUN mkdir -p /app/resources && chown -R node:node /app/resources +VOLUME /app/resources + RUN groupadd --gid 1000 node && useradd --uid 1000 --gid node --shell /bin/bash --create-home node RUN chown -R 1000:1000 /app USER node -CMD npm run start-dist \ No newline at end of file +CMD npm run start-dist