This commit is contained in:
@@ -29,7 +29,8 @@ COPY package.json package-lock.json tsconfig.json ${BUILD_PATH}/
|
||||
COPY src/ ${BUILD_PATH}/src/
|
||||
|
||||
# Install dependencies and build the application source
|
||||
RUN npm ci
|
||||
# (mount the NPM credentials so we can install private packages)
|
||||
RUN --mount-type=secret,id=npmrc,target=/root/.npmrc npm ci
|
||||
RUN npm run tsc
|
||||
|
||||
# Remove any dev dependencies now that the app is built
|
||||
|
Reference in New Issue
Block a user