Last active
July 25, 2024 03:20
-
-
Save gsquire/04fd0fc101015b33c6206975d4d82e31 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