This repository has been archived on 2024-10-21. You can view files and clone it, but cannot push or open issues or pull requests.
furao-link/Dockerfile

19 lines
392 B
Text
Raw Normal View History

2024-02-02 19:50:21 +00:00
FROM alpine as build
RUN apk update && apk upgrade
2024-05-13 16:24:21 +00:00
RUN apk add --no-cache build-base wget asio asio-dev openssl-dev jsoncpp-dev
2024-02-02 19:50:21 +00:00
WORKDIR /app
COPY src ./src
COPY static ./static
COPY Makefile ./
WORKDIR /app
2024-05-13 16:24:21 +00:00
RUN make && rm -r src
2024-02-02 19:50:21 +00:00
FROM alpine as main
COPY --from=build /app /
EXPOSE 8080
2024-05-13 16:24:21 +00:00
RUN apk add --no-cache libstdc++ libgcc libcrypto3 jsoncpp asio
2024-02-02 19:50:21 +00:00
ENTRYPOINT ["/kisalt"]