mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 06:26:02 -07:00
Fix typo in Dockerfile (#1187)
This commit is contained in:
parent
8ecdb11979
commit
66eed5681a
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
From alpine as builder
|
FROM alpine as builder
|
||||||
WORKDIR /src/example
|
WORKDIR /src/example
|
||||||
RUN apk add g++ make openssl-dev zlib-dev brotli-dev
|
RUN apk add g++ make openssl-dev zlib-dev brotli-dev
|
||||||
COPY ./httplib.h /src
|
COPY ./httplib.h /src
|
||||||
|
@ -6,7 +6,7 @@ COPY ./example/hello.cc /src/example
|
||||||
COPY ./example/Makefile /src/example
|
COPY ./example/Makefile /src/example
|
||||||
RUN make hello
|
RUN make hello
|
||||||
|
|
||||||
From alpine
|
FROM alpine
|
||||||
RUN apk --no-cache add brotli libstdc++
|
RUN apk --no-cache add brotli libstdc++
|
||||||
COPY --from=builder /src/example/hello /bin/hello
|
COPY --from=builder /src/example/hello /bin/hello
|
||||||
CMD ["/bin/hello"]
|
CMD ["/bin/hello"]
|
||||||
|
|
Loading…
Reference in a new issue