-
-
Save blakejakopovic/f98eebabbad47520e0dc3a710f913abe to your computer and use it in GitHub Desktop.
A small docker image for rust using alpine linux
This file contains hidden or 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
FROM alpine:3.6 | |
RUN apk add --no-cache rust cargo | |
COPY project /build | |
WORKDIR /build | |
RUN ["cargo", "build", "--release"] | |
ENTRYPOINT ["cargo", "run", "--release"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment