fix: replace hardcoded ip address with api url var

This commit is contained in:
Stijnvandenbroek
2025-06-30 09:43:11 +02:00
parent 16e2032f9e
commit c8c2292501
4 changed files with 9 additions and 9 deletions

View File

@@ -18,7 +18,5 @@ EXPOSE 4000
ENV PORT=4000
ENV WDS_SOCKET_PORT=0
# Create an .env file at build time
RUN echo "REACT_APP_API_URL=http://localhost:8000" > .env
# Use environment variables from docker-compose at runtime
CMD ["npm", "start"]