Commit 19e25b4b authored by jan.koester's avatar jan.koester
Browse files

fixed

parent 7b0c086f
Loading
Loading
Loading
Loading
+2 −1
Changes for Dockerfile: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -58,10 +58,11 @@ RUN apk update && apk upgrade
RUN apk add --no-cache yaml brotli openssl json-c libuuid hiredis libpq sqlite-libs libstdc++ pwgen
RUN mkdir /etc/blogi

COPY run.sh /usr/local/sbin
COPY --from=build /usr/local/bin/blogi /usr/local/bin/blogi
COPY --from=build /usr/local/share/blogi /usr/local/share/blogi
COPY --from=build /usr/local/lib /usr/local/lib
COPY --from=build /usr/local/lib/blogi/plugins /usr/local/lib/blogi/plugins


CMD ["/usr/local/sbin/run.sh"]
CMD ["sh","/usr/local/sbin/run.sh"]
+1 −1
Changes for run.sh: 1 added line, 1 removed line.
Original line number Diff line number Diff line
#!/bin/bash
#!/bin/sh

if [ ! -f /etc/blogi/config.yaml ]; then