FROM node:18.1.0-alpine
COPY package.json /data/
COPY package-lock.json /data/
COPY src /data/src
RUN cd /data && npm i --only=production
WORKDIR /data
EXPOSE 8080
CMD ["npm", "start"]