Apply env var approach to CI and Dockerfile

This commit is contained in:
Neshura 2024-01-03 23:00:44 +01:00
parent 1872b42d5d
commit 9357cd84d5
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
2 changed files with 8 additions and 1 deletions

View file

@ -14,6 +14,8 @@ WORKDIR /app
COPY --from=build /app .
ENV NODE_ENV production
ENV KUMA_USERNAME ''
ENV KUMA_PASSWORD ''
EXPOSE 8000
CMD ["yarn", "preview"]