odin-codespace/nodejs-mini-message-board/Dockerfile
2024-12-26 07:38:38 -05:00

15 lines
177 B
Docker

FROM node:23-alpine
COPY package.json package-lock.json /app
WORKDIR /app
RUN npm install .
COPY --chown nobody:nobody ./src /app
EXPOSE 3000
CMD ["node", "src/app.js"]