I'm trying to push images to repo private, but it's getting error below. Before, it was working, but idk what happened...
PS C:\Users\user\aplication> docker push registry.apprepo.app/app:1.22.3 The push refers to repository [registry.apprepo.app/app]f4ca70ea751f: Layer already exists05e4cd1b24c1: Pushed 1ed92f7e8e52: Pushedf9cb3f1f1d3d: Layer already existsf0fb842dea41: Layer already existsc1cd5c8c68ef: Layer already exists1d54586a1706: Layer already exists1003ff723696: Layer already existsf1417ff83b31: Layer already existsPatch "http://registry.apprepo.app/v2/app/blobs/uploads/f3666007-df22-456e-b15d-094d0317e166": EOF
Dockerfile
FROM node:14 as build-stageWORKDIR /appCOPY . .ARG target_envRUN npm install -g gulp-cli \&& npm install \&& npm run build:$target_envFROM nginx:1.23.4-alpine-slim as deploy-stageCOPY --from=build-stage /app/dist/ /usr/share/nginx/htmlCOPY --from=build-stage /app/nginx/default.conf /etc/nginx/conf.d/default.confCOPY --from=build-stage /app/scripts/config.env.sh ./config.env.shCMD chmod +x config.env.sh && ./config.env.sh
Docker Compose
version: '3'services: app: image: registry.apprepo.app/app:${APP_VERSION} build: context: ./ args: target_env: docker env_file: - docker/.env ports: - "8081:80"
I've try:
docker builder prune -af
but it not pushing yet.I'll appreciate for your help!