Created
June 16, 2020 14:04
-
-
Save hadoan/081f798ceb59dd0ab1ac3ac64723f00a 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
# Stage 1 | |
FROM node:14.4.0-alpine as node | |
WORKDIR /usr/src/app | |
COPY package*.json ./ | |
RUN npm install | |
COPY . . | |
RUN npm run build | |
# Stage 2 | |
FROM nginx:1.13.12-alpine | |
COPY --from=node /usr/src/app/dist/TmdbMovies /usr/share/nginx/html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment