Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Commit 8a279ac

Browse files
committed
refactor dockerfile
1 parent bc22548 commit 8a279ac

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

backend/scripts/prod/Dockerfile

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,13 @@ COPY cypress/ /code/cypress/
3939

4040
RUN apt-get -qq update && apt-get -y install nodejs npm
4141
RUN node -v
42-
43-
# npm installs automatically
4442
RUN npm -v
45-
# cypress dependencies
46-
RUN apt-get -qq install -y xvfb libgtk-3-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2
47-
48-
RUN npm install cypress
4943

44+
# cypress dependencies
45+
RUN apt-get -qq install -y xvfb \
46+
&& libgtk-3-dev \
47+
&& libnotify-dev \
48+
&& libgconf-2-4 \
49+
&& libnss3 \
50+
&& libxss1 \
51+
&& libasound2

0 commit comments

Comments
 (0)