mirror of https://github.com/bitwarden/web.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
410 B
20 lines
410 B
FROM bitwarden/server |
|
|
|
LABEL com.bitwarden.product="bitwarden" |
|
|
|
RUN apt-get update \ |
|
&& apt-get install -y --no-install-recommends \ |
|
gosu \ |
|
curl \ |
|
&& rm -rf /var/lib/apt/lists/* |
|
|
|
ENV ASPNETCORE_URLS http://+:5000 |
|
WORKDIR /app |
|
EXPOSE 5000 |
|
COPY ./build . |
|
COPY entrypoint.sh / |
|
RUN chmod +x /entrypoint.sh |
|
|
|
HEALTHCHECK CMD curl -f http://localhost:5000 || exit 1 |
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
|