Add a basic Dockerfile

This commit is contained in:
Alex Gleason 2024-05-15 18:38:51 -05:00
parent 750e4a8bff
commit 597946002d
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
2 changed files with 14 additions and 0 deletions

6
.dockerignore Normal file
View File

@ -0,0 +1,6 @@
.env
*.cpuprofile
*.swp
deno-test.xml
/data

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM denoland/deno:1.43.3
EXPOSE 4036
WORKDIR /app
RUN mkdir -p data && chown -R deno data
USER deno
COPY . .
RUN deno cache src/server.ts
CMD deno task start