From cc53023586c4190b4164d96bb5f3bc240ce9f1e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=A9grier?= Date: Tue, 2 Feb 2021 11:34:29 +0100 Subject: [PATCH] Using locally built images --- docker-compose.prod.yaml | 15 ++++++++++++--- front/templater.sh | 2 +- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/docker-compose.prod.yaml b/docker-compose.prod.yaml index e25b07d5..33b4f4df 100644 --- a/docker-compose.prod.yaml +++ b/docker-compose.prod.yaml @@ -29,7 +29,10 @@ services: front: - image: thecodingmachine/workadventure-front:master + build: + context: . + dockerfile: front/Dockerfile + #image: thecodingmachine/workadventure-front:master environment: DEBUG_MODE: "$DEBUG_MODE" JITSI_URL: $JITSI_URL @@ -51,7 +54,10 @@ services: restart: unless-stopped pusher: - image: thecodingmachine/workadventure-pusher:master + build: + context: . + dockerfile: pusher/Dockerfile + #image: thecodingmachine/workadventure-pusher:master command: yarn run runprod environment: SECRET_JITSI_KEY: "$SECRET_JITSI_KEY" @@ -71,7 +77,10 @@ services: restart: unless-stopped back: - image: thecodingmachine/workadventure-back:master + build: + context: . + dockerfile: back/Dockerfile + #image: thecodingmachine/workadventure-back:master command: yarn run runprod environment: SECRET_JITSI_KEY: "$SECRET_JITSI_KEY" diff --git a/front/templater.sh b/front/templater.sh index e63617c5..1851cdc5 100755 --- a/front/templater.sh +++ b/front/templater.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -x set -o nounset errexit -template_file_index=dist/index.html.tmpl +template_file_index=dist/index.tmpl.html generated_file_index=dist/index.html tmp_trackcodefile=/tmp/trackcode