1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-25 12:45:18 +01:00
bitwarden-server/util/Attachments/Dockerfile

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
399 B
Docker
Raw Normal View History

2023-08-16 01:48:25 +02:00
FROM bitwarden/server:latest
LABEL com.bitwarden.product="bitwarden"
2018-03-27 20:55:33 +02:00
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
gosu \
2019-07-27 02:31:45 +02:00
curl \
&& rm -rf /var/lib/apt/lists/*
2018-03-27 20:55:33 +02:00
2018-03-26 17:21:03 +02:00
ENV ASPNETCORE_URLS http://+:5000
EXPOSE 5000
COPY entrypoint.sh /
2018-04-16 21:30:07 +02:00
RUN chmod +x /entrypoint.sh
2018-03-26 17:21:03 +02:00
2019-07-27 02:31:45 +02:00
HEALTHCHECK CMD curl -f http://localhost:5000/alive || exit 1
ENTRYPOINT ["/entrypoint.sh"]