Fix previous commit

This commit is contained in:
Nate Choe
2022-06-15 15:15:51 -05:00
parent b67bfbc98f
commit dc044b22e3

View File

@@ -6,8 +6,11 @@ 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 mkdir /usr/include/swebs
COPY --from=build /swebs/src/swebs /usr/include/swebs/
RUN useradd -M swebs
ENTRYPOINT [ "swebs", "-s", "/site/sitefile" ]