mirror of
https://github.com/KeyZox71/webserv.git
synced 2025-03-15 00:26:50 +01:00
12 lines
194 B
Docker
12 lines
194 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
|
|
|
|
RUN [ "/bin/webserv", "$WEBSERV-CONF"]
|