Docker build & push (#2)

* Simple docker build and push
* Removed requirement of defining in the config.toml file, everything should be available from the environment
* Added workflow dispatch
This commit is contained in:
Andrew Pennington 2024-08-15 19:12:31 +01:00 committed by GitHub
parent 2da65182cb
commit 7d5eec898d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 68 additions and 19 deletions

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}