Copy include files to run docker image

This commit is contained in:
Nate Choe
2022-06-15 15:07:36 -05:00
parent 778c09ce5a
commit b67bfbc98f
2 changed files with 2 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ RUN make
FROM debian:stable-slim AS run
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgnutls28-dev libgnutls30
COPY --from=build /swebs/build/swebs /usr/sbin/swebs
COPY --from=build /usr/include/swebs /usr/include/swebs
RUN useradd -M swebs
ENTRYPOINT [ "swebs", "-s", "/site/sitefile" ]

View File

@@ -1,6 +1,7 @@
define port 8000
define transport TLS
define transport TCP
define key domain.key
define cert domain.crt
define timeout 2000