Skip to content

Commit

Permalink
Dockerfile - rearrange steps
Browse files Browse the repository at this point in the history
  • Loading branch information
sssomeshhh committed May 27, 2024
1 parent 5206421 commit 15a030c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM node:current-bullseye-slim as fe
RUN corepack enable
COPY ./fe /root
WORKDIR /root/fe
COPY ./fe .
RUN yarn install
RUN yarn produce

Expand All @@ -13,8 +13,8 @@ RUN apt-get update && \
apt-get install --yes nodejs && \
corepack enable
COPY --from=sssomeshhh/rentify:fe /root/fe/build /root/fe/build
COPY ./be /root
WORKDIR /root/be
COPY ./be .
RUN yarn install
ENV SERVER_PORT=80
EXPOSE 80
Expand Down

0 comments on commit 15a030c

Please sign in to comment.