Copy the sample config before building the frontend

This commit is contained in:
Felipe Knorr Kuhn 2022-10-16 08:39:44 -07:00
parent 4309bfff9b
commit 548ea33316

View File

@ -8,7 +8,9 @@ WORKDIR /build
COPY . .
RUN apt-get update
RUN apt-get install -y build-essential rsync
RUN cp mempool-frontend-config.sample.json mempool-frontend-config.json
RUN npm install --omit=dev --omit=optional
RUN npm run build
FROM nginx:1.17.8-alpine