Created
November 8, 2019 12:32
-
-
Save vschoener/351d9ab87063e81321f5346d7ad5ae53 to your computer and use it in GitHub Desktop.
build stage
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
# | |
# Builder stage. | |
# This state compile our TypeScript to get the JavaScript code | |
# | |
FROM node:12.13.0 AS builder | |
WORKDIR /usr/src/app | |
COPY package*.json ./ | |
COPY tsconfig*.json ./ | |
COPY ./src ./src | |
RUN npm ci --quiet && npm run build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment