fix: get the docker image working
This commit is contained in:
parent
9541c9ac0f
commit
21f132997d
2 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@ Compiled:
|
||||||
Container:
|
Container:
|
||||||
|
|
||||||
```
|
```
|
||||||
podman run -d --name web -v /var/public:/www andyburke/serverus:latest
|
podman run -d -p 8000:8000 -v /var/public:/www --name web andyburke/serverus:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
Deno:
|
Deno:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@andyburke/serverus",
|
"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.",
|
"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.9.2",
|
"version": "0.9.3",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": "./serverus.ts",
|
".": "./serverus.ts",
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
"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/",
|
"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": "deno compile --allow-env --allow-read --allow-write --allow-net --include handlers ./serverus.ts -o serverus",
|
||||||
"build_docker": "podman build -t andyburke/serverus .",
|
"build_docker": "podman build -t andyburke/serverus .",
|
||||||
"publish_docker": "podman push --format v2s2 serverus docker://docker.io/andyburke/serverus:latest",
|
"publish_docker": "podman push --format v2s2 andyburke/serverus docker://docker.io/andyburke/serverus:latest",
|
||||||
"serverus": "deno --allow-env --allow-read --allow-write --allow-net ./serverus.ts"
|
"serverus": "deno --allow-env --allow-read --allow-write --allow-net ./serverus.ts"
|
||||||
},
|
},
|
||||||
"test": {
|
"test": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue