-
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.
* Migrate to Toptal * updated repository urls * synced the submodule for templates
- Loading branch information
Showing
144 changed files
with
5,546 additions
and
43,086 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
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule "gitignore"] | ||
path = gitignore | ||
url = https://github.com/dvcs/gitignore.git | ||
url = https://github.com/toptal/gitignore.git |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,12 +1,10 @@ | ||
FROM vapor/vapor:1.0.9-xenial | ||
|
||
FROM swift:4.1 | ||
WORKDIR /app | ||
|
||
COPY ./ ./ | ||
|
||
RUN vapor build | ||
|
||
ADD . ./ | ||
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 | ||
|
||
# CMD vapor run | ||
|
||
ENTRYPOINT ./bin/release/Run serve -e prod -b 0.0.0.0 |
Oops, something went wrong.