mirror of
https://github.com/toptal/gitignore.io.git
synced 2021-05-12 18:32:24 +03:00
11 lines
276 B
Docker
11 lines
276 B
Docker
FROM swift:4.2.4
|
|
WORKDIR /app
|
|
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
|
|
ENTRYPOINT ./bin/release/Run serve -e prod -b 0.0.0.0
|