fix: deno install in the workdir?

This commit is contained in:
Andy Burke 2025-07-24 13:26:39 -07:00
parent 113bc143c5
commit 0764bf6155
2 changed files with 3 additions and 4 deletions

View file

@ -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}"]

View file

@ -1,7 +1,7 @@
{
"name": "@andyburke/autonomous.contact",
"description": "An experiment.",
"version": "0.4.3",
"description": "An experimental web BBS.",
"version": "0.4.4",
"license": "MIT",
"exports": {},
"tasks": {