mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-03-17 20:17:48 +02:00
Add multi-state build feature (#81)
* Add multi-state build * add white space
This commit is contained in:
parent
e163400864
commit
6d09ab2cd8
@ -16,6 +16,15 @@ RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/reposit
|
||||
&& apk del --purge .build-deps \
|
||||
&& rm -rf /var/cache/apk*
|
||||
|
||||
FROM alpine:edge
|
||||
|
||||
RUN \
|
||||
&& echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
||||
&& apk --no-cache add ca-certificates bash vips \
|
||||
&& rm -rf /var/cache/apk*
|
||||
|
||||
COPY --from=0 /usr/local/bin/imgproxy /usr/local/bin
|
||||
|
||||
CMD ["imgproxy"]
|
||||
|
||||
EXPOSE 8080
|
||||
|
Loading…
x
Reference in New Issue
Block a user