Skip to content

Commit

Permalink
feat: add precompile step to dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-gang committed Apr 19, 2024
1 parent 3070ae3 commit 1d8b084
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion course-definition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ languages:
- slug: "csharp"
release_status: "beta"
- slug: "typescript"
release_status: "alpha"
release_status: "beta"

marketing:
difficulty: medium
Expand Down
3 changes: 3 additions & 0 deletions dockerfiles/deno-1.42.Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
FROM denoland/deno:alpine-1.42.0

RUN printf "cd \${CODECRAFTERS_SUBMISSION_DIR} && deno cache app/main.ts" > /codecrafters-precompile.sh
RUN chmod +x /codecrafters-precompile.sh

0 comments on commit 1d8b084

Please sign in to comment.