mirror of
https://github.com/bitwarden/server.git
synced 2025-07-03 00:52:49 -05:00
run jobs crons on API image
This commit is contained in:
@ -19,9 +19,19 @@ done
|
||||
|
||||
# Custom
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
cron \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
EXPOSE 80
|
||||
COPY obj/Docker/publish .
|
||||
COPY obj/Docker/publish/Api .
|
||||
|
||||
COPY obj/Docker/publish/Jobs /jobs
|
||||
RUN mv /jobs/crontab /etc/cron.d/bitwarden-cron \
|
||||
&& chmod 0644 /etc/cron.d/bitwarden-cron \
|
||||
&& touch /var/log/cron.log
|
||||
|
||||
COPY entrypoint.sh /
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
Reference in New Issue
Block a user