-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
23 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM node:14-alpine | ||
RUN apk update | ||
RUN apk add git | ||
RUN apk add maven | ||
RUN apk add openjdk8-jre | ||
RUN npm install -g npm@6.14.15 | ||
RUN git clone https://github.com/IliyanID/Lindi-Bracelets.git | ||
RUN cd /Lindi-Bracelets/Front-End && npm install && npm run build | ||
RUN cp -r /Lindi-Bracelets/Front-End/build /Lindi-Bracelets/Back-End/src/main/resources/public | ||
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 |
Empty file.