build: docker compose add frontend new image

This commit is contained in:
leandrofars 2024-03-31 16:21:38 -03:00
parent 462b7be85d
commit 3b0520d98a
4 changed files with 5 additions and 9 deletions

View File

View File

@ -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:

View File

@ -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 ---------------------------- #

1
frontend/.gitignore vendored
View File

@ -9,7 +9,6 @@
/coverage
# production
/build
out
.next