Add docker compose example
This commit is contained in:
parent
5b6b79892c
commit
fbf23b523b
@ -3,7 +3,7 @@ FROM denoland/deno:latest
|
|||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY /src .
|
COPY . .
|
||||||
|
|
||||||
ENTRYPOINT ["deno"]
|
ENTRYPOINT ["deno"]
|
||||||
CMD ["task", "serve"]
|
CMD ["task", "serve"]
|
||||||
|
10
example/docker-compose.yml
Normal file
10
example/docker-compose.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user