GardenPlanner/api/Dockerfile

11 lines
118 B
Docker

FROM node:latest
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 3000
CMD ["node", "server.js"]