An IndieWeb engine for a self-hostable website. https://koype.net/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dockerfile.dev 506B

123456789101112131415161718192021222324252627
  1. FROM elixir:1.7.4-alpine
  2. LABEL maintainer Jacky Alcine <yo@jacky.wtf>
  3. ARG MIX_ENV
  4. ENV MIX_ENV=${MIX_ENV:-dev} \
  5. TZ=Etc/UTC \
  6. REPLACE_OS_VARS=true \
  7. HOST_UID=${UID:-1000} \
  8. HOST_GID=${GID:-1000}
  9. # Inject expected root filesystem.
  10. COPY docker/rootfs/ /
  11. RUN mkdir -p /opt/koype/docker/scripts
  12. WORKDIR /opt/koype
  13. COPY docker/rootfs /
  14. COPY . /opt/koype/
  15. RUN sh docker/scripts/prepare.sh && \
  16. sh docker/scripts/prepare-dev.sh
  17. USER koype
  18. SHELL ["/bin/bash"]
  19. CMD ["docker/scripts/entrypoint.sh"]