From 7309137c494da10525242b882986d7647d952a7c Mon Sep 17 00:00:00 2001 From: Simon Dalvai Date: Wed, 8 May 2024 16:36:19 +0200 Subject: [PATCH] frontend: fix docker run ports | 2 --- frontend/infrastructure/docker-compose.build.yml | 3 +-- frontend/infrastructure/docker-compose.run.yml | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/frontend/infrastructure/docker-compose.build.yml b/frontend/infrastructure/docker-compose.build.yml index 93d36f0..b8f6b9e 100644 --- a/frontend/infrastructure/docker-compose.build.yml +++ b/frontend/infrastructure/docker-compose.build.yml @@ -1,8 +1,7 @@ -version: "3.4" - services: app: image: ${DOCKER_IMAGE}:${DOCKER_TAG} build: context: ../ dockerfile: infrastructure/docker/Dockerfile + diff --git a/frontend/infrastructure/docker-compose.run.yml b/frontend/infrastructure/docker-compose.run.yml index 9e07578..db8faf8 100644 --- a/frontend/infrastructure/docker-compose.run.yml +++ b/frontend/infrastructure/docker-compose.run.yml @@ -1,8 +1,8 @@ -version: "3.4" - services: app: image: ${DOCKER_IMAGE}:${DOCKER_TAG} + env_file: .env restart: unless-stopped ports: - - "${SERVER_PORT}:3000" \ No newline at end of file + - ${SERVER_PORT}:3000 +