add docker
This commit is contained in:
10
apps/node/Dockerfile
Normal file
10
apps/node/Dockerfile
Normal file
@ -0,0 +1,10 @@
|
||||
FROM fascinated/docker-images:node-pnpm-latest
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
COPY package.json pnpm-lock.yaml ./
|
||||
RUN pnpm install
|
||||
COPY . .
|
||||
RUN pnpm run build
|
||||
ENV PORT=3000
|
||||
EXPOSE 3000
|
||||
CMD [ "pnpm", "start" ]
|
Reference in New Issue
Block a user