feature: docker container
This commit is contained in:
parent
80032ad926
commit
524f9ff2e3
4 changed files with 84 additions and 41 deletions
14
deno.json
14
deno.json
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@andyburke/serverus",
|
||||
"description": "A flexible HTTP server for mixed content. Throw static files, markdown, Typescript and (hopefully, eventually) more into a directory and serverus can serve it up a bit more like old-school CGI.",
|
||||
"version": "0.8.0",
|
||||
"version": "0.9.0",
|
||||
"license": "MIT",
|
||||
"exports": {
|
||||
".": "./serverus.ts",
|
||||
|
@ -16,6 +16,8 @@
|
|||
"fmt": "deno fmt",
|
||||
"test": "DENO_ENV=test DATA_STORAGE_ROOT=./tests/data/$(date --iso-8601=seconds) SERVERUS_TYPESCRIPT_IMPORT_LOGGING=1 deno test --allow-env --allow-read --allow-write --allow-net --trace-leaks --fail-fast ./tests/",
|
||||
"build": "deno compile --allow-env --allow-read --allow-write --allow-net --include handlers ./serverus.ts -o serverus",
|
||||
"build_docker": "podman build -t andyburke/serverus .",
|
||||
"publish_docker": "podman push --format v2s2 serverus docker://docker.io/andyburke/serverus:latest",
|
||||
"serverus": "deno --allow-env --allow-read --allow-write --allow-net ./serverus.ts"
|
||||
},
|
||||
"test": {
|
||||
|
@ -42,12 +44,12 @@
|
|||
"imports": {
|
||||
"@std/assert": "jsr:@std/assert@^1.0.11",
|
||||
"@std/async": "jsr:@std/async@^1.0.13",
|
||||
"@std/cli": "jsr:@std/cli@^1.0.19",
|
||||
"@std/cli": "jsr:@std/cli@^1.0.20",
|
||||
"@std/fmt": "jsr:@std/fmt@^1.0.6",
|
||||
"@std/fs": "jsr:@std/fs@^1.0.14",
|
||||
"@std/http": "jsr:@std/http@^1.0.13",
|
||||
"@std/fs": "jsr:@std/fs@^1.0.19",
|
||||
"@std/http": "jsr:@std/http@^1.0.19",
|
||||
"@std/media-types": "jsr:@std/media-types@^1.1.0",
|
||||
"@std/path": "jsr:@std/path@^1.0.8",
|
||||
"@std/testing": "jsr:@std/testing@^1.0.9"
|
||||
"@std/path": "jsr:@std/path@^1.1.1",
|
||||
"@std/testing": "jsr:@std/testing@^1.0.14"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue