-
Notifications
You must be signed in to change notification settings - Fork 635
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix security issues * Add EOF and Fixes command
- Loading branch information
1 parent
5b1edb9
commit 545d197
Showing
4 changed files
with
2,006 additions
and
3,201 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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
FROM swift:4.2.4 | ||
WORKDIR /app | ||
ADD . ./ | ||
COPY . ./ | ||
RUN git submodule update --init --recursive | ||
RUN swift package clean | ||
RUN swift build -c release | ||
RUN mkdir /app/bin | ||
RUN mv `swift build -c release --show-bin-path` /app/bin | ||
EXPOSE 8080 | ||
ENTRYPOINT ./bin/release/Run serve -e prod -b 0.0.0.0 | ||
ENTRYPOINT ["/app/bin/release/Run", "serve", "-e", "prod", "-b", "0.0.0.0"] |
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
Oops, something went wrong.