fix: let serverus run as root inside the container so it can read
whatever dir they mount
This commit is contained in:
parent
1db5905924
commit
9541c9ac0f
2 changed files with 1 additions and 4 deletions
|
@ -4,7 +4,6 @@ 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).
|
||||
|
@ -18,8 +17,6 @@ COPY README.md /app
|
|||
|
||||
RUN deno install --frozen
|
||||
|
||||
USER deno
|
||||
|
||||
ENV ROOT=/www
|
||||
ENV TRACE_ERROR_RESPONSES=true
|
||||
ENV SERVERUS_TYPESCRIPT_IMPORT_LOGGING=true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue