Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COPY --from=builder /app . invalid from flag value builder #2156

Closed
Disolm opened this issue Nov 8, 2022 · 0 comments
Closed

COPY --from=builder /app . invalid from flag value builder #2156

Disolm opened this issue Nov 8, 2022 · 0 comments

Comments

@Disolm
Copy link

Disolm commented Nov 8, 2022

Previously, the Dockerfile was as specified here https://nuxtjs.org/deployments/koyeb/ worked fine. After updating node changed the code. And the error began to appear.

`FROM node:16.16.0

WORKDIR /app

COPY . .

RUN npm install
--prefer-offline
--frozen-lockfile
--non-interactive
--production=false

RUN npm run build

RUN rm -rf node_modules &&
NODE_ENV=production npm install
--prefer-offline
--pure-lockfile
--non-interactive
--production=true

FROM node:16.16.0

WORKDIR /app

COPY --from=builder /app .

ENV HOST 0.0.0.0
EXPOSE 3000

CMD ["npm", "run", "start"]`

Step 9/12 : COPY --from=builder /app . invalid from flag value builder: pull access denied for builder, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

@Disolm Disolm closed this as completed Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant