migrate to astro #1
1 changed files with 8 additions and 0 deletions
8
Dockerfile
Normal file
8
Dockerfile
Normal file
|
@ -0,0 +1,8 @@
|
|||
FROM node:lts-alpine3.17
|
||||
WORKDIR /usr/src/app
|
||||
COPY ["package.json", "pnpm-lock.yaml", "dist/*", "./"]
|
||||
RUN pnpm i
|
||||
EXPOSE 4321
|
||||
RUN chown -R node /usr/src/app
|
||||
USER node
|
||||
CMD ["pnpm", "start"]
|
Loading…
Reference in a new issue