Browse Source

Change: Dockerfile add TZ

master
Siroco 10 months ago
parent
commit
726138b49f
Signed by: siroco
GPG Key ID: 1324098302A514B0
  1. 6
      Dockerfile

6
Dockerfile

@ -38,10 +38,10 @@ COPY installer .
RUN go build -o gancio-installer
# --- #
FROM registry.sindominio.net/debian
ENV TZ=Europe/Madrid
RUN apt-get update && \
apt-get install -y --no-install-recommends curl gnupg2 ca-certificates git npm
@ -53,7 +53,6 @@ RUN tar zxf gancio.tgz && \
WORKDIR /gancio
# Instalar solo las dependencias de produccion y crear symlink para ejecucion
RUN npm install --production && \
ln -s /gancio/server/cli.js /usr/bin/gancio
@ -63,7 +62,6 @@ ADD entrypoint.sh /
RUN chmod 755 /entrypoint.sh
# Preconfig
RUN mkdir /data
COPY config.json /gancio/config.json.example

Loading…
Cancel
Save