File tree Expand file tree Collapse file tree 8 files changed +27
-10
lines changed
Expand file tree Collapse file tree 8 files changed +27
-10
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ That's all!
2626
2727Note: This section is for stages 2 and beyond.
2828
29- 1 . Ensure you have ` gleam (1.13 .0) ` installed locally
29+ 1 . Ensure you have ` gleam (1.14 .0) ` installed locally
30301 . Run ` ./your_program.sh ` to run your Redis server, which is implemented in
3131 ` src/main.gleam ` .
32321 . Commit your changes and run ` git push origin master ` to submit your solution
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.13
11- buildpack : gleam-1.13
10+ # Available versions: gleam-1.14
11+ buildpack : gleam-1.14
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.14.0-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 @@ -26,7 +26,7 @@ That's all!
2626
2727Note: This section is for stages 2 and beyond.
2828
29- 1 . Ensure you have ` gleam (1.13 .0) ` installed locally
29+ 1 . Ensure you have ` gleam (1.14 .0) ` installed locally
30301 . Run ` ./your_program.sh ` to run your Redis server, which is implemented in
3131 ` src/main.gleam ` .
32321 . Commit your changes and run ` git push origin master ` to submit your solution
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.13
11- buildpack : gleam-1.13
10+ # Available versions: gleam-1.14
11+ buildpack : gleam-1.14
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ That's all!
2626
2727Note: This section is for stages 2 and beyond.
2828
29- 1 . Ensure you have ` gleam (1.13 .0) ` installed locally
29+ 1 . Ensure you have ` gleam (1.14 .0) ` installed locally
30301 . Run ` ./your_program.sh ` to run your Redis server, which is implemented in
3131 ` src/main.gleam ` .
32321 . Commit your changes and run ` git push origin master ` to submit your solution
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.13
11- buildpack : gleam-1.13
10+ # Available versions: gleam-1.14
11+ buildpack : gleam-1.14
Original file line number Diff line number Diff line change 11attributes :
2- required_executable : gleam (1.13 .0)
2+ required_executable : gleam (1.14 .0)
33 user_editable_file : src/main.gleam
You can’t perform that action at this time.
0 commit comments