aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile.alpine
diff options
context:
space:
mode:
authorcyqsimon <28627918+cyqsimon@users.noreply.github.com>2022-09-15 18:56:02 +0000
committerGitHub <noreply@github.com>2022-09-15 18:56:02 +0000
commit82a3207671e3a01eb011129e1f34b653ca7eb39c (patch)
treedf7667ba5db89c496db7a26e2628f32e56f17f65 /Dockerfile.alpine
parentAdd tooltip on QR code (diff)
parentMerge pull request #902 from kianmeng/fix-typos (diff)
downloadminiserve-82a3207671e3a01eb011129e1f34b653ca7eb39c.tar.gz
miniserve-82a3207671e3a01eb011129e1f34b653ca7eb39c.zip
Merge branch 'master' into qrcode
Diffstat (limited to 'Dockerfile.alpine')
-rw-r--r--Dockerfile.alpine19
1 files changed, 0 insertions, 19 deletions
diff --git a/Dockerfile.alpine b/Dockerfile.alpine
deleted file mode 100644
index f99d757..0000000
--- a/Dockerfile.alpine
+++ /dev/null
@@ -1,19 +0,0 @@
-# This Dockerfile results in an Alpine container containing the minishift executable.
-# Use this in case you need additional basic tools provided by Alpine in this container.
-FROM rust as builder
-
-ENV APP_HOME /usr/src/app/
-
-RUN rustup target add x86_64-unknown-linux-musl
-RUN apt update && apt-get install -y upx musl-tools
-
-COPY . $APP_HOME
-WORKDIR $APP_HOME
-RUN make build-linux
-
-FROM alpine
-RUN apk add rsync
-COPY --from=builder /usr/src/app/target/x86_64-unknown-linux-musl/release/miniserve /app/
-
-EXPOSE 8080
-ENTRYPOINT ["/app/miniserve"]