mirror of
https://github.com/KeyZox71/webserv.git
synced 2026-11-11 06:45:12 +01:00
「🏗️」 wip(docker): added Dockerfile
This commit is contained in:
1 parent
bc68e88b05
commit
315d8f3428
1 file changed
+11
+11
@@ -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