mistymountains/Dockerfile

12 lines
161 B
Docker
Raw Normal View History

2024-05-01 03:46:57 -04:00
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" ]