-
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c1f2b85
commit 9e81f99
Showing
4 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM debian:stable-slim | ||
|
||
RUN apt update -y \ | ||
&& apt clean \ | ||
&& apt install bash curl unzip -y | ||
|
||
RUN curl -fsSL https://deno.land/x/install/install.sh | DENO_INSTALL=/usr/local sh -s v1.4.6 | ||
RUN export DENO_INSTALL="/root/.local" | ||
RUN export PATH="$DENO_INSTALL/bin:$PATH" | ||
COPY . denon | ||
RUN deno install -qAfr --unstable denon/denon.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
version: '3' | ||
|
||
services: | ||
server: | ||
container_name: my_server | ||
build: | ||
context: ../../ | ||
dockerfile: examples/issue_91/.docker/deno.dockerfile | ||
volumes: | ||
- ./src/server:/var/www/server | ||
working_dir: /var/www/server | ||
ports: | ||
- "1667:1667" | ||
command: bash -c "/root/.deno/bin/denon start" | ||
networks: | ||
- my-app-network | ||
|
||
networks: | ||
my-app-network: | ||
driver: bridge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
// empty as it isnt required to have code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"scripts": { | ||
"start": { | ||
"cmd": "deno run app.ts", | ||
"desc": "Run the server.", | ||
"allow": [ | ||
"env", | ||
"net", | ||
"read", | ||
"run" | ||
] | ||
} | ||
}, | ||
"watcher": { | ||
"interval": 350, | ||
"exts": ["js", "ts", "json"], | ||
"match": ["*.*"], | ||
"legacy": false | ||
}, | ||
"logger": { | ||
"fullscreen": false, | ||
"quiet": false, | ||
"debug": true | ||
} | ||
} |