Dockerized backend & added pipeline

This commit is contained in:
2022-05-10 01:37:18 +03:00
parent 4023b3fec8
commit 7e93d9374b
3 changed files with 63 additions and 6 deletions

7
backend/Dockerfile Normal file
View File

@@ -0,0 +1,7 @@
FROM denoland/deno:1.21.2
EXPOSE 3000
WORKDIR /app
USER deno
COPY . .
RUN deno cache ./src/index.ts
CMD ["run", "--allow-all", "./src/index.ts"]