build: docker compose add frontend new image
This commit is contained in:
parent
462b7be85d
commit
3b0520d98a
0
deploy/compose/.env.frontend
Normal file
0
deploy/compose/.env.frontend
Normal 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:
|
||||
|
|
|
|||
|
|
@ -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
1
frontend/.gitignore
vendored
|
|
@ -9,7 +9,6 @@
|
|||
/coverage
|
||||
|
||||
# production
|
||||
/build
|
||||
out
|
||||
.next
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user