mirror of
https://github.com/C4illin/ConvertX.git
synced 2026-11-13 09:40:56 +01:00
remove bun user #8
This commit is contained in:
1 parent
fe65c7a54e
commit
b134b19876
1 file changed
+2
-4
+2
-4
@@ -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" ]
|
||||
Reference in new issue
Block a user