From fcf2c3063b749378c118859f9df28bbaf2b7f02f Mon Sep 17 00:00:00 2001 From: Bryan Brancotte <bryan.brancotte@pasteur.fr> Date: Thu, 7 Apr 2022 21:56:49 +0200 Subject: [PATCH] enable by default the static server --- docker-compose.yaml | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 8902d71f..504b19dd 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -55,22 +55,11 @@ services: - /client/node_modules ports: - '3000:3000' -# front-static: -# build: -# context: client -# target: client-static-serve + front-static: + build: + context: client + target: client-static-serve # args: # API_URL: http://0.0.0.0:8000/api -# # image: node:15.12.0-buster -# # command: > -# # bash -c "cd client && -# # yarn install && -# # yarn run generate" -# # environment: -# # HOST: 0.0.0.0 -# # NODE_ENV: development -# # volumes: -# # - ./client:/client -# # - /client/node_modules -# ports: -# - '3001:8080' + ports: + - '3001:8080' -- GitLab