File tree Expand file tree Collapse file tree 3 files changed +21
-4
lines changed
solutions/gleam/01-at4/code Expand file tree Collapse file tree 3 files changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ debug: false
77# Use this to change the Gleam version used to run your code
88# on Codecrafters.
99#
10- # Available versions: gleam-1.4
11- language_pack : gleam-1.4
10+ # Available versions: gleam-1.6
11+ language_pack : gleam-1.6
Original file line number Diff line number Diff line change 1+ # syntax=docker/dockerfile:1.7-labs
2+ FROM ghcr.io/gleam-lang/gleam:v1.6.3-erlang-alpine
3+
4+ # Rebuild if gleam.toml or manifest.toml change
5+ ENV CODECRAFTERS_DEPENDENCY_FILE_PATHS="gleam.toml,manifest.toml"
6+
7+ WORKDIR /app
8+
9+ # .git & README.md are unique per-repository. We ignore them on first copy to prevent cache misses
10+ COPY --exclude=.git --exclude=README.md . /app
11+
12+ # Force deps to be downloaded
13+ RUN gleam build
14+
15+ # Cache build directory
16+ RUN mkdir -p /app-cached
17+ RUN mv build /app-cached/build
Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ debug: false
77# Use this to change the Gleam version used to run your code
88# on Codecrafters.
99#
10- # Available versions: gleam-1.4
11- language_pack : gleam-1.4
10+ # Available versions: gleam-1.6
11+ language_pack : gleam-1.6
You can’t perform that action at this time.
0 commit comments