-
Notifications
You must be signed in to change notification settings - Fork 170
Open
Description
Checklist
- I have looked into the Readme and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- I agree to the terms within the Auth0 Code of Conduct.
Description
The Dockerfile of the example is broken with the following output:
[+] Building 0.3s (15/25) docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 663B 0.0s
=> WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1) 0.0s
=> [internal] load metadata for docker.io/library/node:lts-alpine 0.2s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 258B 0.0s
=> CANCELED [build 1/13] FROM docker.io/library/node:lts-alpine@sha256:152270cd4bd094d216a84cbc3c5eb1791afb05af00b811e2f0f04bdc6c473602 0.0s
=> => resolve docker.io/library/node:lts-alpine@sha256:152270cd4bd094d216a84cbc3c5eb1791afb05af00b811e2f0f04bdc6c473602 0.0s
=> => sha256:152270cd4bd094d216a84cbc3c5eb1791afb05af00b811e2f0f04bdc6c473602 6.41kB / 6.41kB 0.0s
=> => sha256:d1068d8b737ffed2b8e9d0e9313177a2e2786c36780c5467ac818232e603ccd0 1.72kB / 1.72kB 0.0s
=> => sha256:97c5ed51c64a35c1695315012fd56021ad6b3135a30b6a82a84b414fd6f65851 6.21kB / 6.21kB 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 3.18kB 0.0s
=> CACHED [build 2/13] RUN mkdir /app 0.0s
=> CACHED [build 3/13] WORKDIR /app 0.0s
=> CACHED [build 4/13] COPY package.json . 0.0s
=> CACHED [build 5/13] COPY next.config.js . 0.0s
=> CACHED [build 6/13] COPY api-server.js . 0.0s
=> CACHED [build 7/13] COPY .env.local . 0.0s
=> CACHED [build 8/13] RUN npm install 0.0s
=> CACHED [build 9/13] RUN npm build 0.0s
=> CACHED [build 10/13] RUN ls -lah . 0.0s
=> ERROR [build 11/13] COPY .next ./.next 0.0s
------
> [build 11/13] COPY .next ./.next:
------
2 warnings found (use docker --debug to expand):
- FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)
- JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 42)
Dockerfile:17
--------------------
15 | RUN ls -lah .
16 |
17 | >>> COPY .next ./.next
18 | COPY public ./.public
19 | COPY . .
--------------------
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref fe46fa7d-4caf-471f-818f-1c176d6c624e::n58ovejqp38znkq3a3ixqoywn: "/.next": not found
Reproduction
- Clone repo
- set env vars
- run docker build .
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels