Remove the weird ass cache stuff. Thanks stack overflow!
This commit is contained in:
@ -10,9 +10,6 @@ COPY . .
|
||||
# Create node_modules directory and install dependencies
|
||||
RUN deno cache -r main.ts
|
||||
|
||||
# Pre-cache npm deps with proper node_modules setup
|
||||
RUN deno task npm:init || echo "No npm:init task defined, continuing"
|
||||
|
||||
# Build Fresh application in a more controlled way (without task)
|
||||
RUN deno run -A dev.ts build || deno run -A --unstable-worker-options --node-modules-dir main.ts build
|
||||
|
||||
|
Reference in New Issue
Block a user