mirror of
https://github.com/KeyZox71/webserv.git
synced 2025-05-11 00:58:46 +02:00
14 lines
221 B
Docker
14 lines
221 B
Docker
FROM alpine:3.21
|
|
|
|
COPY ./ /build
|
|
|
|
RUN apk add --no-cache clang make \
|
|
&& cd /build \
|
|
&& make \
|
|
&& chmod +x webserv \
|
|
&& cp webserv /bin/webserv
|
|
|
|
STOPSIGNAL SIGINT
|
|
|
|
RUN [ "/bin/webserv", "$WEBSERV-CONF"]
|