mirror of
https://github.com/KeyZox71/webserv.git
synced 2025-05-10 22:28:47 +02:00
「✨」 feat: added mimetype and some other few thing
This commit is contained in:
22
Dockerfile
22
Dockerfile
@ -2,12 +2,22 @@ FROM alpine:3.21
|
||||
|
||||
COPY ./ /build
|
||||
|
||||
RUN apk add --no-cache clang make \
|
||||
&& cd /build \
|
||||
&& make \
|
||||
&& chmod +x webserv \
|
||||
&& cp webserv /bin/webserv
|
||||
ENV PKGS=true
|
||||
ENV TTY=true
|
||||
|
||||
RUN apk add --no-cache bash clang make
|
||||
|
||||
RUN cd /build \
|
||||
&& PKGS=true make -j re
|
||||
|
||||
COPY /build/webserv /bin/webserv
|
||||
|
||||
RUN chmod +x /bin/webserv
|
||||
|
||||
WORKDIR /
|
||||
|
||||
RUN webserv --generate
|
||||
|
||||
STOPSIGNAL SIGINT
|
||||
|
||||
RUN [ "/bin/webserv", "$WEBSERV-CONF"]
|
||||
RUN [ "webserv", "/sample.toml"]
|
||||
|
Reference in New Issue
Block a user