Add docker compose example
This commit is contained in:
parent
5b6b79892c
commit
fbf23b523b
18
Dockerfile
18
Dockerfile
@ -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"]
|
||||
|
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