1
0
mirror of synced 2025-07-29 11:01:13 +03:00

Fix SIGINT problem in Docker image

This commit is contained in:
yhirose
2024-09-03 18:04:58 -04:00
parent 4e6055f084
commit 87fab847b8
2 changed files with 5 additions and 2 deletions

View File

@ -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