Files
remanso-jetstream/Dockerfile
Julien Calixte ee8421c773 feat: add Dockerfile and GitLab CI/CD pipeline
Add Docker containerization with Deno and persistent SQLite volume.
Add GitLab CI pipeline with build and deploy stages.
Use SQLITE_PATH env var for configurable DB location.
2026-02-09 00:30:21 +01:00

16 lines
273 B
Docker

FROM denoland/deno:2
WORKDIR /app
COPY deno.json deno.lock ./
RUN deno install
COPY . .
RUN deno cache main.ts
RUN mkdir -p /data
VOLUME /data
ENV SQLITE_PATH=/data/notes.db
CMD ["deno", "run", "--allow-net", "--allow-read", "--allow-write", "--allow-env", "main.ts"]