Move docker files in subdir

This commit is contained in:
Bastien
2021-02-03 02:12:15 +01:00
parent c6296bc06c
commit 7d245bc201
11 changed files with 14 additions and 46 deletions

View File

@@ -2,13 +2,16 @@ FROM node:12-buster-slim AS builder
WORKDIR /build
COPY . .
RUN sed -i "s!../.git/refs/heads/master!master!g" ./src/api/backend-info.ts
RUN apt-get update
RUN apt-get install -y build-essential python3 pkg-config
RUN npm ci --production
RUN npm i typescript
RUN npm run build
RUN mv mempool-config-docker.json mempool-config.json
RUN mv ./docker/* .
FROM node:12-buster-slim