Skip to content

Commit

Permalink
use apt-get instead of apt
Browse files Browse the repository at this point in the history
  • Loading branch information
sssomeshhh committed May 27, 2024
1 parent 4cdc4e3 commit c1ad86f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ FROM base as fe
RUN yarn produce

FROM mongo:latest as fs
RUN apt update && \
apt install -y curl && \
RUN apt-get update && \
apt-get install --yes curl && \
curl -fsSL https://deb.nodesource.com/setup_22.x -o nodesource_setup.sh && \
bash nodesource_setup.sh && \
apt install -y nodejs && \
apt-get install --yes nodejs && \
corepack enable
COPY --from=sssomeshhh/rentify:fe /root/fe/build /root/fe/build
COPY --from=sssomeshhh/rentify:be /root/be /root/be
Expand Down

0 comments on commit c1ad86f

Please sign in to comment.