about summary refs log tree commit diff stats
path: root/Dockerfile
diff options
context:
space:
mode:
authorAlan Pearce2024-04-17 22:39:45 +0200
committerAlan Pearce2024-04-18 09:14:23 +0200
commit22a2e624602212cf68b40d9cab54164c7051210c (patch)
treefab7dea20da38b2a1cdc00a5440da8285804d79e /Dockerfile
parentc1d191576c80dada81671834539ed93ebcb63461 (diff)
downloadwebsite-22a2e624602212cf68b40d9cab54164c7051210c.tar.lz
website-22a2e624602212cf68b40d9cab54164c7051210c.tar.zst
website-22a2e624602212cf68b40d9cab54164c7051210c.zip
embed files
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 90dd051..5929443 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -16,7 +16,7 @@ RUN go run ./cmd/build
 
 RUN cp -r static/.well-known static/* public
 ENV GOOS=linux GOARCH=amd64 CGO_ENABLED=0
-RUN go build ./cmd/server/
+RUN go build server.go
 
 # Final stage for app image
 FROM gcr.io/distroless/static
@@ -25,7 +25,6 @@ WORKDIR /app
 
 # Copy built application
 COPY --link config.toml .
-COPY --from=builder /app/public public
 COPY --from=builder /app/server server
 
 # Start the server by default, this can be overwritten at runtime