summaryrefslogtreecommitdiff
path: root/vendor/Dockerfile
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-03-28 00:07:51 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-28 00:07:51 +0000
commitbba3aae6262b45e5457d0fcaa23e99f815114b4b (patch)
tree9510a08bba9514faf620b4244f382c4fc9599637 /vendor/Dockerfile
parentf50b93c373428d624cc2cabe98e4022dce846e67 (diff)
downloadgitlab-ce-bba3aae6262b45e5457d0fcaa23e99f815114b4b.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'vendor/Dockerfile')
-rw-r--r--vendor/Dockerfile/Swift.Dockerfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/vendor/Dockerfile/Swift.Dockerfile b/vendor/Dockerfile/Swift.Dockerfile
new file mode 100644
index 00000000000..a1a08c60b1e
--- /dev/null
+++ b/vendor/Dockerfile/Swift.Dockerfile
@@ -0,0 +1,13 @@
+FROM swift:5.0 as builder
+
+WORKDIR /src
+COPY . .
+RUN swift build -c release
+
+FROM swift:5.0-slim
+
+WORKDIR /src
+COPY --from=builder /src .
+EXPOSE 8080
+
+CMD [ ".build/release/app"]