diff --git a/deploy/compose/.env.frontend b/deploy/compose/.env.frontend new file mode 100644 index 0000000..e69de29 diff --git a/deploy/compose/docker-compose.yaml b/deploy/compose/docker-compose.yaml index f966462..44ca59b 100644 --- a/deploy/compose/docker-compose.yaml +++ b/deploy/compose/docker-compose.yaml @@ -156,13 +156,10 @@ services: #/* -------------------------------- Frontend -------------------------------- */ frontend: - image: 'node:16.20.2' + image: 'oktopusp/frontend' container_name: frontend - tty: true - stdin_open: true - volumes: - - ../../frontend:/app/ - command: bash -c "cd /app/ && npm i && npm run dev" + env_file: + - .env.frontend ports: - 3000:3000 networks: diff --git a/frontend/.env b/frontend/.env index 679a4b3..32e4aa9 100644 --- a/frontend/.env +++ b/frontend/.env @@ -6,8 +6,8 @@ NEXT_PUBLIC_WS_ENPOINT="http://localhost:5000/" # -------------------------- Production Environment -------------------------- # -#NEXT_PUBLIC_REST_ENPOINT="https://oktopustr369.com/api" -#NEXT_PUBLIC_WS_ENPOINT="https://oktopustr369.com/" +#NEXT_PUBLIC_REST_ENPOINT="https://demo.oktopus.app.br/api" +#NEXT_PUBLIC_WS_ENPOINT="https://demo.oktopus.app.br/" # ---------------------------------------------------------------------------- # # ---------------------------- Mocked Environment ---------------------------- # diff --git a/frontend/.gitignore b/frontend/.gitignore index d7d9eba..656fd8a 100644 --- a/frontend/.gitignore +++ b/frontend/.gitignore @@ -9,7 +9,6 @@ /coverage # production -/build out .next