Last active
June 30, 2022 16:54
-
-
Save kevinfiol/58fb0d7e1a7b8b7b3e6a86c3a17de87b to your computer and use it in GitHub Desktop.
dockerfile for a redbean app
This file contains 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.16 | |
RUN apk update \ | |
&& apk add --no-cache \ | |
bash \ | |
zip | |
RUN wget https://justine.lol/ape.elf -O /usr/bin/ape | |
RUN chmod +x /usr/bin/ape | |
COPY redbean.com / | |
RUN chmod +x /redbean.com | |
CMD ["bash", "-c", "/redbean.com", "-vv", "-p", "8080"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment