Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

12345678910111213
  1. FROM node:16
  2. RUN apt-get update && apt-get install libvips-dev -y
  3. ARG NODE_ENV=development
  4. ENV NODE_ENV=${NODE_ENV}
  5. WORKDIR /opt/
  6. COPY ./package.json ./yarn.lock ./
  7. ENV PATH /opt/node_modules/.bin:$PATH
  8. RUN yarn config set network-timeout 600000 -g && yarn install
  9. WORKDIR /opt/app
  10. COPY ./ .
  11. RUN yarn build
  12. EXPOSE 1337
  13. CMD ["yarn", "develop"]