-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cd4ba8a
commit 4e9a57b
Showing
5 changed files
with
10 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,14 @@ | ||
FROM hayd/alpine-deno:1.4.4 as builder | ||
FROM hayd/alpine-deno:1.6.1 as builder | ||
WORKDIR /app | ||
# See https://github.com/denoland/deno/issues/7145 | ||
RUN deno cache --no-check --unstable https://deno.land/x/[email protected]/cli.ts | ||
RUN deno cache --unstable https://deno.land/x/[email protected]/cli.ts | ||
COPY deps.ts deps.ts | ||
COPY tsconfig.json tsconfig.json | ||
RUN deno cache -c tsconfig.json deps.ts | ||
COPY . . | ||
RUN deno run --allow-read --allow-write --allow-env --allow-net --allow-run --unstable https://deno.land/x/dext@0.9.5/cli.ts build | ||
RUN deno run --allow-read --allow-write --allow-env --allow-net --allow-run --unstable https://deno.land/x/dext@0.10.0/cli.ts build | ||
|
||
FROM hayd/alpine-deno:1.4.4 | ||
FROM hayd/alpine-deno:1.6.1 | ||
WORKDIR /app | ||
# See https://github.com/denoland/deno/issues/7145 | ||
RUN deno cache --no-check --unstable https://deno.land/x/[email protected]/cli.ts | ||
RUN deno cache --unstable https://deno.land/x/[email protected]/cli.ts | ||
RUN deno cache --unstable https://deno.land/x/[email protected]/cli.ts | ||
COPY --from=builder /app/.dext /app/.dext | ||
CMD [ "deno", "run", "--allow-read", "--allow-net", "--allow-env", "--unstable", "https://deno.land/x/dext@0.9.5/cli.ts", "start" ] | ||
CMD [ "deno", "run", "--allow-read", "--allow-net", "--allow-env", "--unstable", "https://deno.land/x/dext@0.10.0/cli.ts", "start" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters