First commit
All checks were successful
WebServer Build / build-and-push-image (push) Successful in 1m40s

This commit is contained in:
2026-06-14 19:22:49 -05:00
parent a47281d4fd
commit 06c33f3487
3 changed files with 49 additions and 0 deletions

19
Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
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.5 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"]