Commit 67817191 authored by Ian Fijolek's avatar Ian Fijolek

Add mariadb dev and update mutlistage for manifest2

parent 72d7ae9b
......@@ -40,6 +40,10 @@ FROM "vividboarder/bitwarden_rs_ldap:alpine" as bitwarden_ldap
FROM cloudron/base:1.0.0@sha256:147a648a068a2e746644746bbfb42eb7a50d682437cead3c67c933c546357617
RUN apt-get update && apt-get install -y \
--no-install-recommends libmariadbclient-dev \
&& rm -fr /var/lib/apt/lists/*
ENV ROCKET_ENV "staging"
ENV ROCKET_PORT=3000
ENV ROCKET_WORKERS=10
......@@ -69,6 +73,10 @@ COPY --from=build /src/Rocket.toml /app/code/
COPY --from=bitwarden_ldap /usr/local/bin/bitwarden_rs_ldap /app/code/
ENV RUST_BACKTRACE=1
# configure supervisor
ADD supervisor/ /etc/supervisor/conf.d/
RUN sed -e 's,^logfile=.*$,logfile=/run/supervisord.log,' -i /etc/supervisor/supervisord.conf
WORKDIR /app/code
COPY start.sh /app/code/start.sh
COPY ldap_sync.sh /app/code/ldap_sync.sh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment