Dockerfile 291 B

123456789101112131415161718
  1. FROM node:16.15 AS musare_backend
  2. RUN npm install -g nodemon
  3. RUN mkdir -p /opt/app
  4. WORKDIR /opt/app
  5. COPY package.json /opt/app/package.json
  6. COPY package-lock.json /opt/app/package-lock.json
  7. RUN npm install
  8. COPY . /opt/app
  9. ENTRYPOINT npm run docker:dev
  10. EXPOSE 8080/tcp
  11. EXPOSE 8080/udp