1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-01 13:43:23 +01:00
bitwarden-server/util/Attachments/Dockerfile

19 lines
396 B
Docker
Raw Normal View History

2020-01-13 17:14:50 +01:00
FROM bitwarden/server:dev
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"]