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

18 lines
392 B
Docker

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