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