Skip to content
  • Seb35's avatar
    Improve Docker · 70cb8dd8
    Seb35 authored
    * Improved reproducibility by fixing the alpine version used
    * Documented in Dockerfile that a volume /mnt/legi and a port 80 are used
    * Instead of git-cloning the official Git repo inside the Dockerfile,
      copying all local files (in the build context) to facilitate development
      and given the fact it is possible to directly build a remote git repo
    * Added node and npm dependencies and removed npm in a single line to
      minimise image size (48 Mio instead of 68 Mio)
    * Removed docker-entrypoint.sh and used instead ENTRYPOINT
    * Added .dockerignore to avoid the SQLite database is added to context
      and to minimise a bit image size
    * Improved README with a line to build a Docker container directly from
      the remote Git repository without the need to locally clone it
    70cb8dd8