fix: deno install
in the workdir?
This commit is contained in:
parent
113bc143c5
commit
0764bf6155
2 changed files with 3 additions and 4 deletions
|
@ -12,13 +12,12 @@ COPY deno.json /app
|
|||
COPY deno.lock /app
|
||||
COPY README.md /app
|
||||
|
||||
RUN deno install
|
||||
|
||||
ENV FSDB_ROOT=/app/.fsdb
|
||||
ENV TRACE_ERROR_RESPONSES=true
|
||||
ENV SERVERUS_TYPESCRIPT_IMPORT_LOGGING=true
|
||||
ENV APP_ROOT=/app/public
|
||||
|
||||
WORKDIR /app
|
||||
RUN deno install
|
||||
|
||||
CMD ["sh", "-c", "deno run --allow-env --allow-read --allow-write --allow-net @andyburke/serverus --hostname 0.0.0.0 --root ${APP_ROOT}"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue