Ver código fonte

Updated Dockerfile to work with NEXT_PUBLIC_JSONCRACK_HOST.

yuvalg99 2 anos atrás
pai
commit
4d03de70c3
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      Dockerfile

+ 2 - 0
Dockerfile

@@ -1,5 +1,7 @@
 # Builder
 FROM node:14-buster as builder
+ARG jsoncrack_host
+ENV NEXT_PUBLIC_JSONCRACK_HOST $jsoncrack_host
 WORKDIR /src
 COPY . /src
 RUN yarn install --legacy-peer-deps