feat(dockerfile): specify default args

This commit is contained in:
ItzCrazyKns 2024-10-02 22:53:45 +05:30
parent 1aaf172246
commit c233362e70
2 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View File

@ -36,3 +36,4 @@ Thumbs.db
# Db
db.sqlite
/searxng

View File

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