catApi/Dockerfile

11 lines
174 B
Docker
Raw Permalink Normal View History

2022-01-25 13:21:30 +00: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