chore: Set up Deno project with Docker, environment configuration, and basic server
This commit is contained in:
15
deno/Dockerfile
Normal file
15
deno/Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM denoland/deno:2.0.1
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY deno.json .
|
||||
|
||||
RUN deno install
|
||||
|
||||
COPY . .
|
||||
RUN deno cache main.ts
|
||||
|
||||
ARG PORT=8000
|
||||
EXPOSE $PORT
|
||||
|
||||
CMD ["task", "start"]
|
||||
Reference in New Issue
Block a user