mirror of
https://github.com/KeyZox71/webserv.git
synced 2025-03-15 11:36:50 +01:00
「🏗️」 wip(docker): added Dockerfile
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
FROM alpine:3.21
|
||||||
|
|
||||||
|
ADD ./ /build
|
||||||
|
|
||||||
|
RUN apk add --no-cache clang make \
|
||||||
|
&& cd /build \
|
||||||
|
&& make \
|
||||||
|
&& chmod +x webserv \
|
||||||
|
&& cp webserv /webserv
|
||||||
|
|
||||||
|
RUN [ "/webserv", "$WEBSERV_CONF"]
|
Reference in New Issue
Block a user