Skip to content

Commit

Permalink
Updated Docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
IliyanID committed Mar 22, 2023
1 parent b25df1a commit b7dbd3d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
FROM node:14-alpine

ENV PORT=3000

RUN apk update
RUN apk add git
RUN apk add maven
Expand All @@ -12,5 +15,4 @@ RUN cd /Lindi-Bracelets/Back-End && mvn -q package
WORKDIR /Lindi-Bracelets/Back-End/target

ENTRYPOINT java -jar Server-2.0-jar-with-dependencies.jar
EXPOSE 443
EXPOSE 80
EXPOSE 3000

0 comments on commit b7dbd3d

Please sign in to comment.