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 cfa8a9a7d6
commit 670f85b1f5

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