+12
@@ -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"]
|
||||
@@ -0,0 +1,9 @@
|
||||
services:
|
||||
app:
|
||||
container_name: deno_fresh_app
|
||||
build: .
|
||||
ports:
|
||||
- "443:443"
|
||||
volumes:
|
||||
- .:/app
|
||||
command: deno run -A main.ts
|
||||
Reference in New Issue
Block a user