changed Dockerfile
This commit is contained in:
parent
a2d1c86f78
commit
bde64e1bc0
@ -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
2
env/local.env
vendored
@ -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
|
||||
Loading…
Reference in New Issue
Block a user