Skip to content

Commit cffc363

Browse files
feat(genDockerfile): switch to npm for stable results
yarn seems to have issues with create-react-app, so let's stick with default package manager as we don't care that much about install speed with soos do we ;)
1 parent 81a486c commit cffc363

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ ENV PATH=/build/node_modules/.bin:$PATH
77

88
ADD package.json /build/
99

10-
RUN yarn && chmod -R 777 /build
10+
RUN npm install && chmod -R 777 /build
1111

1212
RUN mkdir /.config /.cache && chmod -R 777 /.config /.cache
1313

14-
ENTRYPOINT ["yarn"]
14+
ENTRYPOINT [ "npm" ]
1515

1616
CMD ["start"]
1717

soos.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@ ENV PATH=/build/node_modules/.bin:$PATH
8282
8383
ADD package.json /build/
8484
85-
RUN yarn && chmod -R 777 /build
85+
RUN npm install && chmod -R 777 /build
8686
8787
RUN mkdir /.config /.cache && chmod -R 777 /.config /.cache
8888
89-
ENTRYPOINT ["yarn"]
89+
ENTRYPOINT ["npm"]
9090
9191
CMD ["start"]
9292
`

0 commit comments

Comments
 (0)