Add a basic Dockerfile
This commit is contained in:
parent
750e4a8bff
commit
597946002d
|
@ -0,0 +1,6 @@
|
|||
.env
|
||||
*.cpuprofile
|
||||
*.swp
|
||||
deno-test.xml
|
||||
|
||||
/data
|
|
@ -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
|
Loading…
Reference in New Issue