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

docs: update deno version in example Dockerfile for deployment #2766

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gjtiquia
Copy link

some context: i developed the Fresh app with Deno 2.0

using the previous version will result in an error log that looks something like this

 => ERROR [4/4] RUN deno cache main.ts                                                                                                                                 0.3s 
------
 > [4/4] RUN deno cache main.ts:
0.273 error: invalid type: string "auto", expected a boolean
------
Dockerfile:9
--------------------
   7 |
   8 |     COPY . .
   9 | >>> RUN deno cache main.ts
  10 |
  11 |     EXPOSE 8000
--------------------
ERROR: failed to solve: process "/bin/sh -c deno cache main.ts" did not complete successfully: exit code: 1

using the new version fixed the issue

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

Successfully merging this pull request may close these issues.

1 participant