docker/Dockerfile

13 lines
119 B
Docker
Raw Normal View History

2024-08-08 18:00:28 +08:00
FROM node:20
2024-08-08 13:29:13 +08:00
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 3000
2024-08-08 17:32:02 +08:00
CMD ["node", "src/index.js"]