Skip to content

Commit 00a8409

Browse files
committed
Refactor Dockerfile to install serve globally and update npm dependencies
1 parent 90c076e commit 00a8409

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Framework/angular/v18/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ chmod -R +x /home/devbox/project/entrypoint.sh
1111

1212
USER devbox
1313
RUN cd /home/devbox/project && \
14+
sudo chmod -R 777 /usr/lib/node_modules && \
15+
sudo chmod -R 777 /usr/local/lib/node_modules && \
1416
npm install -g serve && \
1517
npm run build
1618

0 commit comments

Comments
 (0)