bunkum

an old and silly c99 web server with some fun features
Log | Files | Refs | README

Dockerfile (331B)


      1 
      2 FROM ubuntu:latest
      3 RUN apt-get update
      4 RUN apt-get install -y zlib1g
      5 RUN apt-get install -y libunwind-dev
      6 RUN apt-get install -y zlib1g-dev
      7 
      8 WORKDIR /root
      9 COPY public public
     10 
     11 # # for compilation
     12 # COPY utils utils
     13 # COPY http http
     14 # COPY Makefile .
     15 # COPY http.c .
     16 # RUN make
     17 
     18 COPY serv .
     19 RUN chmod +x ./serv
     20 ENTRYPOINT ["./serv"]