Skip to content

Commit

Permalink
⚰️ Remove unnecessary npm upgrade
Browse files Browse the repository at this point in the history
Signed-off-by: Muhammed Hussein Karimi <[email protected]>
  • Loading branch information
mhkarimi1383 committed Nov 1, 2024
1 parent ecbb354 commit d5f2249
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions php/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ RUN composer global require bamarni/symfony-console-autocomplete

RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
--mount=type=cache,target=/var/lib/apt,sharing=locked \
&& curl -sSfL https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor > /etc/apt/trusted.gpg.d/pgdg.gpg \
curl -sSfL https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor > /etc/apt/trusted.gpg.d/pgdg.gpg \
&& curl -sSfL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor > /etc/apt/trusted.gpg.d/yarn.gpg \
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list \
&& echo "deb http://apt.postgresql.org/pub/repos/apt ${DEBIAN_VERSION}-pgdg main" > /etc/apt/sources.list.d/pgdg.list \
Expand All @@ -207,8 +207,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
postgresql-client \
postgis \
nodejs \
yarn \
&& npm install -g npm
yarn

WORKDIR /var/www/html/

Expand Down

0 comments on commit d5f2249

Please sign in to comment.