Skip to content

Instantly share code, notes, and snippets.

@DasithKuruppu
Created March 31, 2020 01:34
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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