Skip to content

Commit 5364e34

Browse files
authored
Merge pull request #43 from SourceCodeOER/fsevents-removal
chore(Dockerfile) : removes fsevents logs
2 parents 86d3326 + 3d5dec7 commit 5364e34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ WORKDIR /frontend
1010
# Install app dependencies ( everything )
1111
# A wildcard is used to ensure both package.json AND package-lock.json are copied where available (npm@5+)
1212
COPY package*.json ./
13-
RUN npm ci
13+
RUN npm ci --no-optional
1414

1515
# copy every file
1616
COPY . .
@@ -37,7 +37,7 @@ COPY package*.json ./
3737

3838
# TODO Only Install production dependancies (later)
3939
#RUN npm ci --only=production
40-
RUN npm ci
40+
RUN npm ci --no-optional
4141

4242
# Removes unnecessary files in node modules
4343
RUN find "$(pwd)/node_modules" -type f -name "*.ts" -exec rm -f {} \;

0 commit comments

Comments
 (0)