Production deployment issue by using docker #2080
Closed
andriiradkevych
started this conversation in
General
Replies: 1 comment
-
The deno version EDIT: Updated the docs. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://fresh.deno.dev/docs/concepts/deployment - used this article for trying to deploy my deno prod build on docker
Dockerfile
deno run -A dev.ts build
docker build --build-arg GIT_REVISION=$(git rev-parse HEAD) -t fresh-production .
Get next issue:
I understand that I get it because of this line
import data from 'data/pages/home.json' with { type: "json" };
, but it is eligible code forDeno
, what can I do to fix it ?Beta Was this translation helpful? Give feedback.
All reactions