Skip to content

Commit

Permalink
Dockerfile - add env SERVER_PORT=80 and update EXPOSE
Browse files Browse the repository at this point in the history
  • Loading branch information
sssomeshhh committed May 27, 2024
1 parent fa034c8 commit 441c933
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ COPY --from=sssomeshhh/rentify:fe /root/fe/build /root/fe/build
COPY --from=sssomeshhh/rentify:be /root/be /root/be
WORKDIR /root/be
RUN yarn install
EXPOSE 8000
ENV SERVER_PORT=80
EXPOSE 80
RUN echo "mongod > /dev/null 2>&1 & disown ; yarn produce ;" > startApp
CMD bash ./startApp

0 comments on commit 441c933

Please sign in to comment.