1
0
mirror of https://github.com/bitwarden/server.git synced 2025-05-01 17:52:17 -05:00
bitwarden/util/Server/Dockerfile
2023-11-09 17:07:47 -05:00

16 lines
587 B
Docker

###############################################
# Build stage #
###############################################
ARG BUILD_TAG=latest
FROM --platform=$BUILDPLATFORM bitwardenprod.azurecr.io/build:${BUILD_TAG} AS bitwarden-build
###############################################
# App stage #
###############################################
FROM mcr.microsoft.com/dotnet/aspnet:6.0
LABEL com.bitwarden.product="bitwarden"
# Copy app from the build stage
WORKDIR /bitwarden_server
COPY --from=bitwarden-build /app/Server ./