catApi/Dockerfile

11 lines
174 B
Text
Raw Normal View History

2022-01-25 16:21:30 +03:00
FROM node:17
# Set working directory
WORKDIR /opt/catApi
# and copy files into that directory
COPY . ./
RUN npm install -g npm@8 && npm install --save-dev
CMD npm start