Skip to content

Instantly share code, notes, and snippets.

@kevinfiol
Last active June 30, 2022 16:54
Show Gist options
  • Save kevinfiol/58fb0d7e1a7b8b7b3e6a86c3a17de87b to your computer and use it in GitHub Desktop.
Save kevinfiol/58fb0d7e1a7b8b7b3e6a86c3a17de87b to your computer and use it in GitHub Desktop.
dockerfile for a redbean app
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