Copy include files to run docker image
This commit is contained in:
@@ -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" ]
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
define port 8000
|
||||
|
||||
define transport TLS
|
||||
define transport TCP
|
||||
define key domain.key
|
||||
define cert domain.crt
|
||||
define timeout 2000
|
||||
|
||||
Reference in New Issue
Block a user