You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dockerfile 257B

12345678910111213141516171819
  1. FROM node:14-alpine
  2. WORKDIR /opt/app
  3. RUN chown -R 1000:1000 /opt/app
  4. USER 1000:1000
  5. COPY package.json package-lock.json ./
  6. RUN npm ci --production
  7. COPY --chown=1000:1000 . .
  8. ENV PORT=8080
  9. EXPOSE 8080
  10. VOLUME /opt/app/server-data
  11. CMD ["npm", "start"]