Add docker compose example
Some checks failed
Release / test (push) Failing after 14s
Release / push-docker-image (push) Has been skipped

This commit is contained in:
Mario Romero 2024-12-06 21:15:15 -03:00
parent 5b6b79892c
commit fbf23b523b
2 changed files with 19 additions and 9 deletions

View File

@ -1,9 +1,9 @@
FROM denoland/deno:latest
EXPOSE 3000
WORKDIR /app
COPY /src .
ENTRYPOINT ["deno"]
CMD ["task", "serve"]
FROM denoland/deno:latest
EXPOSE 3000
WORKDIR /app
COPY . .
ENTRYPOINT ["deno"]
CMD ["task", "serve"]

View File

@ -0,0 +1,10 @@
services:
homepg:
image: git.1159.cl/mario1159/1159cl:latest
container_name: homepg_1159cl
ports:
- "8000:8000"
volumes:
- ./src:/app
working_dir: /app
command: deno task serve