Created
March 31, 2020 01:34
-
-
Save DasithKuruppu/5380e3c18e31fdfcda9a070818e352b5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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