File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change
1
+ FROM ghcr.io/gleam-lang/gleam:v1.6.3-erlang-slim
2
+
3
+ # Add project code
4
+ COPY . /project/
5
+
6
+ WORKDIR /project
7
+
8
+ RUN gleam build
9
+
10
+ CMD ["./runall.sh" ]
11
+
12
+
Original file line number Diff line number Diff line change 1
- .PHONY : test run start day01 day02 day03 day04 day05 day06 day07 day08 day09 day10 day11 day12 day13 day14 day15 day16 day17 day18 day19 day20 day21 day22 day23 day24 day25
1
+ .PHONY : docker test run start day01 day02 day03 day04 day05 day06 day07 day08 day09 day10 day11 day12 day13 day14 day15 day16 day17 day18 day19 day20 day21 day22 day23 day24 day25
2
2
3
3
.DEFAULT_GOAL := test
4
4
@@ -45,3 +45,7 @@ day25: test/day25_test.gleam src/day25/solution.gleam
45
45
46
46
# Start today's problem
47
47
start : test/day$(shell date +% d) _test.gleam src/day$(shell date +% d) /solution.gleam
48
+
49
+ # Build a docker container
50
+ docker :
51
+ docker build -t devries/aoc2024:latest .
You can’t perform that action at this time.
0 commit comments