mirror of
https://github.com/bitwarden/server.git
synced 2024-11-25 12:45:18 +01:00
0c76969506
* Update server build workflow to push images to ACR * UPDATE: Remove docker_repos matrix variable * FIX: make docker push command one-liner * UODATE: revert attachment image source * UPDATE: add suggestion and update tags in docker build * UPDATE: docker build tags * UPDATE: master branch tag to latest * ADD: push server image to dockerhub * ADD: sugesstions * ADD: ACR var name change and usages * Minor updates * Fix syntax error * UPDATE: use ACR var for image name step --------- Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
19 lines
414 B
Docker
19 lines
414 B
Docker
FROM bitwardenprod.azurecr.io/server:latest
|
|
|
|
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
|
|
EXPOSE 5000
|
|
COPY entrypoint.sh /
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
HEALTHCHECK CMD curl -f http://localhost:5000/alive || exit 1
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|