ADD: entrypoint

Siroco 1 year ago
parent 70c0d74535
commit 6658a9d831
Signed by: siroco
GPG Key ID: 1324098302A514B0
  1. 7
      Dockerfile
  2. 1
      README.md

@ -24,6 +24,13 @@ RUN yarn global add --latest --production --silent https://gancio.org/latest.tgz
WORKDIR /opt/gancio
# Creo que lo podemos evitar, pero yo lo dejo
ARG GANCIO_UID=115
RUN useradd -u $GANCIO_UID -g nogroup gancio
# Compiar el script de entrada del repo y ejecutar
ADD entrypoint.sh /
RUN chmod 755 /entrypoint.sh
ENTRYPOINT [ "/bin/sh", "/entrypoint.sh" ]

@ -7,6 +7,7 @@ https://gancio.org
Docker version based on https://git.sindominio.net/gancio/docker-gancio
* Change user $UID:GID on docker-compose.yml
* Change GANCIO_UID
* Copy _.env.sample_ to .env and change config
* Directories _data_ and _uploads_ precreated

Loading…
Cancel
Save