Skip to content

Commit

Permalink
Optimize Dockerfile build process by removing package upgrade
Browse files Browse the repository at this point in the history
Removed the 'apt-get upgrade' command from the Dockerfile to improve build times. This minim
  • Loading branch information
bgharbi-globalpos committed Feb 6, 2024
1 parent 1a0a710 commit 2a47002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM node:16.18.0
RUN apt-get update && apt-get upgrade -y

ENV NODE_ENV production

WORKDIR /app
Expand Down

0 comments on commit 2a47002

Please sign in to comment.