-
-
Save tminhduc2811/ef64b02c43b0c9c6ab0742ee42bd6b67 to your computer and use it in GitHub Desktop.
Razzle Docker Container
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 node:alpine | |
ENV NODE_ENV production | |
ENV HOST 0.0.0.0 | |
ENV PORT 80 | |
ENV RAZZLE_CUSTOM_VARIABLE x | |
# Bundle APP files | |
COPY build . | |
COPY package.json . | |
COPY package-lock.json . | |
COPY build/public public | |
RUN npm install --production | |
CMD [ "node", "build/server.js" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment