Added docker-compose file

This commit is contained in:
Nate Choe
2022-04-11 01:56:49 -05:00
parent 8914e57eec
commit 0a177b6d91
19 changed files with 34 additions and 27 deletions

View File

@@ -7,6 +7,6 @@ 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 ./site /site
RUN useradd -M swebs
ENTRYPOINT [ "swebs", "-s", "/site/sitefile" ]