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 -------------------------------- */
|
||||||
frontend:
|
frontend:
|
||||||
image: 'node:16.20.2'
|
image: 'oktopusp/frontend'
|
||||||
container_name: frontend
|
container_name: frontend
|
||||||
tty: true
|
env_file:
|
||||||
stdin_open: true
|
- .env.frontend
|
||||||
volumes:
|
|
||||||
- ../../frontend:/app/
|
|
||||||
command: bash -c "cd /app/ && npm i && npm run dev"
|
|
||||||
ports:
|
ports:
|
||||||
- 3000:3000
|
- 3000:3000
|
||||||
networks:
|
networks:
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@ NEXT_PUBLIC_WS_ENPOINT="http://localhost:5000/"
|
||||||
|
|
||||||
# -------------------------- Production Environment -------------------------- #
|
# -------------------------- Production Environment -------------------------- #
|
||||||
|
|
||||||
#NEXT_PUBLIC_REST_ENPOINT="https://oktopustr369.com/api"
|
#NEXT_PUBLIC_REST_ENPOINT="https://demo.oktopus.app.br/api"
|
||||||
#NEXT_PUBLIC_WS_ENPOINT="https://oktopustr369.com/"
|
#NEXT_PUBLIC_WS_ENPOINT="https://demo.oktopus.app.br/"
|
||||||
# ---------------------------------------------------------------------------- #
|
# ---------------------------------------------------------------------------- #
|
||||||
|
|
||||||
# ---------------------------- Mocked Environment ---------------------------- #
|
# ---------------------------- Mocked Environment ---------------------------- #
|
||||||
|
|
|
||||||
1
frontend/.gitignore
vendored
1
frontend/.gitignore
vendored
|
|
@ -9,7 +9,6 @@
|
||||||
/coverage
|
/coverage
|
||||||
|
|
||||||
# production
|
# production
|
||||||
/build
|
|
||||||
out
|
out
|
||||||
.next
|
.next
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user