Skip to content

Commit f23ad54

Browse files
committed
Make docker multi-stage
1 parent c15a857 commit f23ad54

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
FROM oven/bun:alpine
1+
FROM oven/bun:alpine AS chrome-base
22

3-
RUN apk --update --no-cache add chromium && \
4-
mkdir -p /home/lighthouse
3+
RUN apk --update --no-cache add \
4+
chromium \
5+
&& rm -rf /var/cache/apk/* /tmp/*
6+
7+
FROM chrome-base AS app
58

69
ARG BUILD_DATE
710
ARG VCS_REF

0 commit comments

Comments
 (0)