feat(dockerfile): specify default args
This commit is contained in:
parent
1aaf172246
commit
c233362e70
|
@ -36,3 +36,4 @@ Thumbs.db
|
|||
|
||||
# Db
|
||||
db.sqlite
|
||||
/searxng
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
FROM node:alpine
|
||||
|
||||
ARG NEXT_PUBLIC_WS_URL
|
||||
ARG NEXT_PUBLIC_API_URL
|
||||
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}
|
||||
|
||||
|
|
Loading…
Reference in New Issue