aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/Dockerfile
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-07-29 02:59:07 +0900
committernsfisis <nsfisis@gmail.com>2024-07-29 02:59:07 +0900
commitd1c8aa42aec32c8b042ae32d249df9c3c969453d (patch)
tree2f248715213d12d6649f32b5ddcbb0d9a0281ed8 /backend/Dockerfile
parent22ddf340f0b0c8d0cd04c34d9fa1481a1fbf422f (diff)
parent161d82bee9f9e65680516a9cfd392e0cf297eadf (diff)
downloadphperkaigi-2025-albatross-d1c8aa42aec32c8b042ae32d249df9c3c969453d.tar.gz
phperkaigi-2025-albatross-d1c8aa42aec32c8b042ae32d249df9c3c969453d.tar.zst
phperkaigi-2025-albatross-d1c8aa42aec32c8b042ae32d249df9c3c969453d.zip
Merge branch 'game-playing'
Diffstat (limited to 'backend/Dockerfile')
-rw-r--r--backend/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/Dockerfile b/backend/Dockerfile
index 1d1523d..acf7a68 100644
--- a/backend/Dockerfile
+++ b/backend/Dockerfile
@@ -1,6 +1,9 @@
FROM golang:1.22.3 AS builder
WORKDIR /build
+COPY go.mod go.sum ./
+RUN go mod download
+
COPY . /build
RUN go build -o /build/server .