Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

Shuffling order of things in docker file

Matt Robertsbf2f4f4ad822
diff --git a/Dockerfile b/Dockerfile
index 63ac8294f..6ed9ea9df 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,6 +3,10 @@
#####################
FROM --platform=${TARGETPLATFORM:-linux/amd64} golang:1.22-bookworm AS server-builder
+RUN apt-get update && apt-get install -y \
+ build-essential \
+ gcc \
+ libc6-dev
RUN mkdir /server
WORKDIR /server
@@ -33,13 +37,7 @@ RUN make build-ui
################
FROM --platform=${TARGETPLATFORM:-linux/amd64} debian:bookworm-slim
-RUN apt-get update
RUN apt-get install -y ca-certificates
-RUN apt-get install -y \
- build-essential \
- gcc \
- libc6-dev
-
WORKDIR /app