CodeCards/backend/Dockerfile

13 lines
149 B
Docker

FROM node:14.15.4
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm install
COPY . .
EXPOSE 5000
CMD ["node", "index.js"]