datatlas-erasme / front

🗺 [DEPRECATED] DatAtlas frontend is an interface to create maps with custom data, style and features.
https://github.com/datatlas-erasme/datatlas
6 stars 0 forks source link

121 after docker build update env var #179

Open Pipazoul opened 1 year ago

Pipazoul commented 1 year ago

Added and entrypoint.sh who replaces all REACT_APP_BACKEND_URL vars after npm build with Exported REACT_APP_BACKEND_URL env var

Allowing to not have to use specific builds for the front in the future (ex : datatalas-front:dev-industries ) The back url can now be declared at image deployment time with the variable REACT_APP_BACKEND_URL=https://backurl

Added a github file ci build-front.yml which should be the only file in the .github/worflows folder at maturity (except the lint ci files)

Pipazoul commented 1 year ago

The file build-front.yml seems dedicated to industries, because tags mentioned it. It could be interesting to configure general tags ? You're right, I've updated the file build-front.yml