Add HTTP server app

This commit is contained in:
Dimitri Lozeve 2022-09-19 19:40:09 +02:00
parent eeeea1bb8d
commit 842468cf53
7 changed files with 133 additions and 3 deletions

View file

@ -3,5 +3,8 @@ FROM gerbil/alpine
RUN gxpkg install github.com/dlozeve/fancy
COPY . .
RUN ./build.ss
RUN gxc -exe -static -cc-options -static -ld-options -lz -o sncf-static sncf.ss
RUN ./build.ss lib
RUN ./build.ss server
EXPOSE 8080
CMD ["/src/server"]