about summary refs log tree commit diff stats
path: root/Dockerfile
diff options
context:
space:
mode:
authorAlan Pearce2024-04-17 20:29:34 +0200
committerAlan Pearce2024-04-17 20:53:45 +0200
commit347d0cd1a73921a8cbc43798a7fbe2095791bbe9 (patch)
treeda02d4e95345ef34ea319933bb2ba6b43878edc7 /Dockerfile
parent30fed9da228ef9bab5734e000e598ff380cb55f5 (diff)
downloadwebsite-347d0cd1a73921a8cbc43798a7fbe2095791bbe9.tar.lz
website-347d0cd1a73921a8cbc43798a7fbe2095791bbe9.tar.zst
website-347d0cd1a73921a8cbc43798a7fbe2095791bbe9.zip
remove post-processing
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile17
1 files changed, 1 insertions, 16 deletions
diff --git a/Dockerfile b/Dockerfile
index 3724bf3..3d31306 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -34,21 +34,6 @@ RUN rm -fr node_modules
 COPY --from=install /temp/prod/node_modules node_modules
 RUN bun build src/index.ts --compile --minify --sourcemap --outfile server
 
-FROM alpine:20240329 as postprocess
-
-RUN echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
-
-RUN apk add --no-cache prettier@testing make fd brotli gzip zstd
-
-WORKDIR /app
-
-COPY --link Makefile ./
-COPY --link config.toml ./
-COPY --from=build /app/public public
-
-RUN make format
-RUN make -j4 compress
-
 # Final stage for app image
 FROM gcr.io/distroless/base-nossl
 
@@ -57,7 +42,7 @@ WORKDIR /app
 # Copy built application
 COPY config.toml /app/
 COPY --from=build /app /app
-COPY --from=postprocess /app/public /app/public
+COPY --from=build /app/public /app/public
 
 # Start the server by default, this can be overwritten at runtime
 EXPOSE 3000