We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86d3326 commit 3d5dec7Copy full SHA for 3d5dec7
Dockerfile
@@ -10,7 +10,7 @@ WORKDIR /frontend
10
# Install app dependencies ( everything )
11
# A wildcard is used to ensure both package.json AND package-lock.json are copied where available (npm@5+)
12
COPY package*.json ./
13
-RUN npm ci
+RUN npm ci --no-optional
14
15
# copy every file
16
COPY . .
@@ -37,7 +37,7 @@ COPY package*.json ./
37
38
# TODO Only Install production dependancies (later)
39
#RUN npm ci --only=production
40
41
42
# Removes unnecessary files in node modules
43
RUN find "$(pwd)/node_modules" -type f -name "*.ts" -exec rm -f {} \;
0 commit comments