changed Dockerfile

This commit is contained in:
CodeServer 2022-05-08 07:36:01 +01:00
parent a2d1c86f78
commit bde64e1bc0
2 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,8 @@ ENV NODE_ENV=production
WORKDIR /DockerRegistryWebUI
COPY ["package.json", "package-lock.json*", "./"]
COPY . .
ARG REGISTRY_URL
ENV REACT_APP_REGISTRY_URL=$REGISTRY_URL
ENV GENERATE_SOURCEMAP false
RUN npm install
RUN chmod +x run

2
env/local.env vendored
View File

@ -1,2 +1,2 @@
ENV=local
REACT_APP_REACT_APP_REGISTRY_URL=https://registry.docker.cofan.cloud
REACT_APP_REGISTRY_URL=https://registry.docker.cofan.cloud