Merge branch 'docker' into 'main'
Add a basic Dockerfile See merge request soapbox-pub/ditto!263
This commit is contained in:
commit
132eed36b4
|
@ -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