-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add initial dockerfile * move config file * set host
- Loading branch information
1 parent
8f470a0
commit 5fb85a7
Showing
6 changed files
with
26 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.lein-env |
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,19 @@ | ||
FROM circleci/clojure:lein-2.9.1 AS builder | ||
USER root | ||
COPY . /app | ||
|
||
WORKDIR /app | ||
RUN lein uberjar | ||
|
||
|
||
FROM openjdk:14-alpine | ||
|
||
RUN mkdir -p /app /app/resources | ||
|
||
COPY --from=builder /app/target/*.jar /app/ | ||
COPY --from=builder /app/resources /app/resources | ||
|
||
WORKDIR /app | ||
|
||
CMD java -jar byf.jar | ||
EXPOSE 3335 |
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
File renamed without changes.
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