Spaces:
Runtime error
Runtime error
Niv Sardi
commited on
Commit
•
4b2814a
1
Parent(s):
f1ab0d5
deno: actually run code
Browse filesSigned-off-by: Niv Sardi <xaiki@evilgiggle.com>
- Dockerfile.deno +2 -2
Dockerfile.deno
CHANGED
@@ -2,7 +2,7 @@ FROM docker.io/denoland/deno
|
|
2 |
MAINTAINER Niv Sardi <x@filtra.me>
|
3 |
WORKDIR /app
|
4 |
|
5 |
-
COPY src
|
6 |
RUN deno cache ./src/index.ts
|
7 |
|
8 |
-
CMD deno ./src/index.ts
|
|
|
2 |
MAINTAINER Niv Sardi <x@filtra.me>
|
3 |
WORKDIR /app
|
4 |
|
5 |
+
COPY src ./src
|
6 |
RUN deno cache ./src/index.ts
|
7 |
|
8 |
+
CMD deno --allow-env --allow-read --allow-write --allow-net ./src/index.ts
|