Move docker files in subdir

This commit is contained in:
Bastien
2021-02-03 02:12:15 +01:00
parent 543fe8c735
commit 6782229a3d
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