Files
tesses50 f9fc7d1871
WebServer Build / build-and-push-image (push) Successful in 1m1s
Update to v0.0.11
2026-10-30 01:43:24 -05:00

19 lines
560 B
Docker

FROM alpine:latest AS tf-build
RUN apk update
RUN apk add --no-cache cmake g++ make git
WORKDIR /src
RUN git clone --depth 1 --branch v0.0.11 https://git.tesses.org/tesses50/tessesframework.git .
RUN mkdir build && cd build && cmake -S .. -B . -DTESSESFRAMEWORK_STATIC=ON -DTESSESFRAMEWORK_ENABLE_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=Release && make -j`nproc`
FROM alpine:latest
RUN apk update
RUN apk add --no-cache libstdc++
COPY --from=tf-build /src/build/tfileserver /usr/local/bin/tfileserver
EXPOSE 9852
ENTRYPOINT ["/usr/local/bin/tfileserver","/www"]