all repos — homestead @ b24d16d75811172d61f7062ced75d4868434322f

Code for my website

remove post-processing

Alan Pearce
commit

b24d16d75811172d61f7062ced75d4868434322f

parent

53be00d047dbcf2eb9b75d961606796dc64fb57a

1 file changed, 1 insertion(+), 16 deletions(-)

changed files
M DockerfileDockerfile
@@ -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 @@
# 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