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 5ab7ea9 commit 9ef9414Copy full SHA for 9ef9414
1 file changed
Dockerfile
@@ -5,12 +5,17 @@ WORKDIR /servicemap-ui
5
6
USER root
7
8
+RUN curl --fail --silent --proto '=https' --tlsv1.2 https://dl.yarnpkg.com/rpm/yarn.repo \
9
+ --output /etc/yum.repos.d/yarn.repo
10
+RUN yum -y install yarn
11
+
12
RUN chown -R default:root /servicemap-ui
13
14
# Install app dependencies
15
COPY --chown=default:root --chmod=444 package.json yarn.lock /servicemap-ui/
16
-RUN yarn install --frozen-lockfile
17
+# Install dependencies
18
+RUN yarn && yarn cache clean --force
19
20
COPY --chown=default:root . /servicemap-ui/
21
0 commit comments