Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

1234567891011121314
  1. FROM node:14-alpine AS builder
  2. LABEL maintainer="LessPass <contact@lesspass.com>"
  3. LABEL name="LessPass Frontend"
  4. WORKDIR /opt/frontend
  5. COPY package.json ./
  6. RUN yarn install
  7. COPY . /opt/frontend
  8. RUN yarn build:static
  9. RUN yarn build
  10. FROM nginx:alpine
  11. COPY --from=builder /opt/frontend/build /usr/share/nginx/html
  12. COPY nginx.conf /etc/nginx/conf.d/default.conf
  13. EXPOSE 80
  14. CMD ["nginx", "-g", "daemon off;"]