fix: let's try to make sure /www exists in the container with reasonable
permissions
This commit is contained in:
parent
524f9ff2e3
commit
1db5905924
2 changed files with 5 additions and 1 deletions
|
@ -3,6 +3,10 @@ FROM denoland/deno:latest
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
WORKDIR /app
|
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).
|
# 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.
|
# Ideally cache deps.ts will download and compile _all_ external files used in main.ts.
|
||||||
ADD handlers /app/handlers
|
ADD handlers /app/handlers
|
||||||
|
|
|
@ -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.0",
|
"version": "0.9.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": "./serverus.ts",
|
".": "./serverus.ts",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue