From b134b19876114ecbd0473ca29c4fd3b02d7923cb Mon Sep 17 00:00:00 2001 From: C4illin Date: Wed, 29 May 2024 12:46:58 +0200 Subject: [PATCH] remove bun user #8 --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index d7ca04f..224d0ed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,10 +47,8 @@ COPY --from=install /temp/prod/node_modules node_modules # COPY --from=prerelease /app/package.json . COPY . . -# create folder data and set owner to bun -RUN mkdir -p /app/data && chown bun:bun /app/data +# create folder data +RUN mkdir -p /app/data && chmod 755 /app/data -# run the app -USER bun EXPOSE 3000/tcp ENTRYPOINT [ "bun", "run", "./src/index.tsx" ] \ No newline at end of file