Merge pull request #20 from fedyna-k/PMPR-19

App running in compose
This commit is contained in:
Kevin FEDYNA
2025-01-21 10:05:41 +01:00
committed by GitHub
2 changed files with 21 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
FROM denoland/deno:alpine
WORKDIR /app
COPY . .
RUN deno cache main.ts
RUN deno task build
USER deno
EXPOSE 443
CMD ["run", "-A", "main.ts"]
+9
View File
@@ -0,0 +1,9 @@
services:
app:
container_name: deno_fresh_app
build: .
ports:
- "443:443"
volumes:
- .:/app
command: deno run -A main.ts