Skip to content

Instantly share code, notes, and snippets.

@DasithKuruppu
Created March 31, 2020 01:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DasithKuruppu/5380e3c18e31fdfcda9a070818e352b5 to your computer and use it in GitHub Desktop.
Save DasithKuruppu/5380e3c18e31fdfcda9a070818e352b5 to your computer and use it in GitHub Desktop.
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