12 lines
161 B
Docker
12 lines
161 B
Docker
|
FROM node:18-alpine
|
||
|
|
||
|
COPY package*.json ./
|
||
|
USER node
|
||
|
RUN npm install
|
||
|
|
||
|
COPY --chown=node:node . .
|
||
|
RUN npm run build
|
||
|
|
||
|
EXPOSE 3000
|
||
|
CMD [ "node", "build/index.js" ]
|