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
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue