fix: let's try to make sure /www exists in the container with reasonable

permissions
This commit is contained in:
Andy Burke 2025-07-14 20:03:15 -07:00
parent 524f9ff2e3
commit 1db5905924
2 changed files with 5 additions and 1 deletions

View file

@ -3,6 +3,10 @@ FROM denoland/deno:latest
EXPOSE 8000
WORKDIR /app
RUN mkdir /www
RUN chown -R deno:deno /www
RUN chmod -R 775 /www
# Cache the dependencies as a layer (the following two steps are re-run only when deps.ts is modified).
# Ideally cache deps.ts will download and compile _all_ external files used in main.ts.
ADD handlers /app/handlers

View file

@ -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.9.0",
"version": "0.9.1",
"license": "MIT",
"exports": {
".": "./serverus.ts",