diff --git a/Dockerfile b/Dockerfile index 63c859b..6b3329b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/deno.json b/deno.json index bf9be35..f94f50c 100644 --- a/deno.json +++ b/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.9.0", + "version": "0.9.1", "license": "MIT", "exports": { ".": "./serverus.ts",