Merge tag 'v2021.07.02-1-otterscan' into develop
Hotfix for https://github.com/wmitsuda/otterscan/issues/12
This commit is contained in:
commit
f064dcf6b1
|
@ -1,10 +1,10 @@
|
||||||
FROM node:12.22.3-alpine AS builder
|
FROM node:12.22.3-alpine AS builder
|
||||||
WORKDIR /otterscan-build
|
WORKDIR /otterscan-build
|
||||||
COPY ["package.json", "package-lock.json", "/otterscan-build"]
|
COPY ["package.json", "package-lock.json", "/otterscan-build/"]
|
||||||
RUN npm install
|
RUN npm install
|
||||||
COPY ["run-nginx.sh", "tsconfig.json", "craco.config.js", "tailwind.config.js", "/otterscan-build"]
|
COPY ["run-nginx.sh", "tsconfig.json", "craco.config.js", "tailwind.config.js", "/otterscan-build/"]
|
||||||
COPY ["public", "/otterscan-build/public"]
|
COPY ["public", "/otterscan-build/public/"]
|
||||||
COPY ["src", "/otterscan-build/src"]
|
COPY ["src", "/otterscan-build/src/"]
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
FROM alpine:3.14.0 AS logobuilder
|
FROM alpine:3.14.0 AS logobuilder
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
"eject": "react-scripts eject",
|
"eject": "react-scripts eject",
|
||||||
"start-assets": "docker run --rm -p 3001:80 --name otterscan-assets -d -v$(pwd)/4bytes/signatures:/usr/share/nginx/html/signatures/ -v$(pwd)/trustwallet/blockchains/ethereum/assets:/usr/share/nginx/html/assets -v$(pwd)/nginx.conf:/etc/nginx/conf.d/default.conf nginx:1.21.1-alpine",
|
"start-assets": "docker run --rm -p 3001:80 --name otterscan-assets -d -v$(pwd)/4bytes/signatures:/usr/share/nginx/html/signatures/ -v$(pwd)/trustwallet/blockchains/ethereum/assets:/usr/share/nginx/html/assets -v$(pwd)/nginx.conf:/etc/nginx/conf.d/default.conf nginx:1.21.1-alpine",
|
||||||
"stop-assets": "docker stop otterscan-assets",
|
"stop-assets": "docker stop otterscan-assets",
|
||||||
"build-docker": "docker build -t otterscan -f Dockerfile .",
|
"build-docker": "DOCKER_BUILDKIT=1 docker build -t otterscan -f Dockerfile .",
|
||||||
"start-docker": "docker run --rm -p 5000:80 --name otterscan -d otterscan",
|
"start-docker": "docker run --rm -p 5000:80 --name otterscan -d otterscan",
|
||||||
"stop-docker": "docker stop otterscan"
|
"stop-docker": "docker stop otterscan"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue