Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
FROM strapi/base
WORKDIR /Strapi_CMS
COPY ./CMS/package.json ./
COPY ./CMS/package-lock.json ./
RUN npm i
COPY ./CMS/ ./
RUN npm build
EXPOSE 1337
ENV NODE_ENV production
CMD ["npm", "start"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment