Skip to content

Commit

Permalink
Add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
swissmanu committed Oct 23, 2023
1 parent cfebdf5 commit 9628d50
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/quality-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
deno-version: ${{ env.DENO_VERSION }}
- name: Typecheck
run: deno check
run: deno check src/main.ts
- name: Format Check
run: deno fmt --check
- name: Lint
Expand Down
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM lukechannings/deno:v1.37.2

USER deno
WORKDIR /app
ADD . /app
RUN deno cache src/deps.ts && deno cache src/main.ts

CMD ["run", "--allow-env", "--allow-net", "src/main.ts"]

0 comments on commit 9628d50

Please sign in to comment.