From 0764bf6155987812625c0895d0545074eb00eb8c Mon Sep 17 00:00:00 2001 From: Andy Burke Date: Thu, 24 Jul 2025 13:26:39 -0700 Subject: [PATCH] fix: `deno install` in the workdir? --- Dockerfile | 3 +-- deno.json | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 34e526b..94b3e66 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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}"] diff --git a/deno.json b/deno.json index caaedfa..652b593 100644 --- a/deno.json +++ b/deno.json @@ -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": {