Skip to content

Commit 828617c

Browse files
author
decobot
committed
fix Dockerfile
1 parent 6218ef8 commit 828617c

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM denoland/deno:alpine-1.46.3
1+
FROM denoland/deno:alpine-2.2.8
22

33
# The port that your application listens to.
44
EXPOSE 8000
@@ -17,10 +17,10 @@ WORKDIR /app/deco
1717

1818
RUN echo -e 'import "$fresh/src/build/deps.ts";\nimport "$fresh/src/runtime/entrypoints/main.ts";\nimport "$fresh/src/runtime/entrypoints/deserializer.ts";\nimport "$fresh/src/runtime/entrypoints/signals.ts";' >> _docker_deps.ts
1919

20-
RUN deno cache --allow-scripts --frozen --node-modules-dir=false main.ts
21-
RUN deno cache --allow-scripts --frozen --node-modules-dir=false dev.ts
22-
RUN deno cache --allow-scripts --frozen --node-modules-dir=false _docker_deps.ts
20+
RUN deno cache --allow-scripts --frozen --node-modules-dir=none main.ts
21+
RUN deno cache --allow-scripts --frozen --node-modules-dir=none dev.ts
22+
RUN deno cache --allow-scripts --frozen --node-modules-dir=none _docker_deps.ts
2323

2424
ARG GIT_REVISION=1
2525

26-
CMD ["run", "--cached-only", "--node-modules-dir=false", "-A", "--unstable-kv", "main.ts"]
26+
CMD ["run", "--cached-only", "--node-modules-dir=none", "-A", "--unstable-kv", "main.ts"]

0 commit comments

Comments
 (0)