This commit is contained in:
parent
409c811a42
commit
63f7f38c9f
2 changed files with 5 additions and 7 deletions
|
@ -1,9 +1,7 @@
|
|||
FROM node:20.18.0-alpine
|
||||
|
||||
ARG NEXT_PUBLIC_WS_URL=ws://127.0.0.1:3001
|
||||
ARG NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/api
|
||||
ENV NEXT_PUBLIC_WS_URL=${NEXT_PUBLIC_WS_URL}
|
||||
ENV NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL}
|
||||
ENV NEXT_PUBLIC_WS_URL=ws://127.0.0.1:3001
|
||||
ENV NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/api
|
||||
|
||||
WORKDIR /home/perplexica
|
||||
|
||||
|
|
|
@ -34,10 +34,10 @@ services:
|
|||
build:
|
||||
context: .
|
||||
dockerfile: app.dockerfile
|
||||
args:
|
||||
- NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/api
|
||||
- NEXT_PUBLIC_WS_URL=ws://127.0.0.1:3001
|
||||
image: itzcrazykns1337/perplexica-frontend:main
|
||||
environment:
|
||||
- NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/api
|
||||
- NEXT_PUBLIC_WS_URL=ws://127.0.0.1:3001
|
||||
depends_on:
|
||||
- perplexica-backend
|
||||
ports:
|
||||
|
|
Loading…
Add table
Reference in a new issue