You've already forked cpp-httplib
Fix SIGINT problem in Docker image
This commit is contained in:
@ -1,8 +1,7 @@
|
||||
FROM ubuntu AS builder
|
||||
FROM yhirose4dockerhub/ubuntu-builder AS builder
|
||||
WORKDIR /build
|
||||
COPY httplib.h .
|
||||
COPY docker/main.cc .
|
||||
RUN apt update && apt install g++ -y
|
||||
RUN g++ -std=c++23 -static -o server -O2 -I. -DCPPHTTPLIB_USE_POLL main.cc && strip server
|
||||
|
||||
FROM scratch
|
||||
|
Reference in New Issue
Block a user