Skip to content
This repository has been archived by the owner on May 29, 2023. It is now read-only.

Commit

Permalink
fix dockerfile for yarn 3
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshgulia1 committed Mar 14, 2023
1 parent c2e8215 commit a964f9e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ COPY . /opt/frontend/
WORKDIR /opt/frontend/

# Update apt packages
RUN runDeps="openssl ca-certificates patch gosu git tmux locales-all" \
RUN runDeps="openssl ca-certificates patch gosu git make tmux locales-all" \
&& apt-get update \
&& apt-get install -y --no-install-recommends $runDeps \
&& apt-get clean \
Expand All @@ -13,7 +13,8 @@ RUN runDeps="openssl ca-certificates patch gosu git tmux locales-all" \
&& cp jsconfig.json.prod jsconfig.json \
&& mkdir -p /opt/frontend/src/addons \
&& rm -rf /opt/frontend/src/addons/* \
&& find /opt/frontend -not -user node -exec chown node {} \+
&& find /opt/frontend -not -user node -exec chown node {} \+ \
&& corepack enable

USER node
RUN cd /opt/frontend \
Expand Down

0 comments on commit a964f9e

Please sign in to comment.