Skip to content

Commit 7b6c319

Browse files
author
Mohammed Abdi
committed
update npm
Signed-off-by: Mohammed Abdi <mohammma@usc.edu>
1 parent 9a4c2f3 commit 7b6c319

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile.frontend-container

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ COPY --from=build /usr/src/app/build ./build
1212
COPY --from=build /usr/src/app/.env.prod .
1313

1414
# Install serve package and react-inject-env
15-
RUN npm install --location=global serve && \
15+
RUN npm install -g npm@9.7.1 && \
16+
npm install --location=global serve && \
1617
npm install react-inject-env
1718

1819
# Set dynamic port, defualt 3000

0 commit comments

Comments
 (0)