test again for #8
This commit is contained in:
parent
44e2aac9a8
commit
fe65c7a54e
1 changed files with 3 additions and 2 deletions
|
|
@ -47,9 +47,10 @@ COPY --from=install /temp/prod/node_modules node_modules
|
||||||
# COPY --from=prerelease /app/package.json .
|
# COPY --from=prerelease /app/package.json .
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
# create folder data and set owner to bun
|
||||||
|
RUN mkdir -p /app/data && chown bun:bun /app/data
|
||||||
|
|
||||||
# run the app
|
# run the app
|
||||||
USER bun
|
USER bun
|
||||||
RUN mkdir data
|
|
||||||
RUN chmod 755 data
|
|
||||||
EXPOSE 3000/tcp
|
EXPOSE 3000/tcp
|
||||||
ENTRYPOINT [ "bun", "run", "./src/index.tsx" ]
|
ENTRYPOINT [ "bun", "run", "./src/index.tsx" ]
|
||||||
Loading…
Add table
Add a link
Reference in a new issue