mirror of
https://github.com/bitwarden/server.git
synced 2025-04-28 00:02:26 -05:00
16 lines
562 B
Docker
16 lines
562 B
Docker
###############################################
|
|
# Build stage #
|
|
###############################################
|
|
ARG BUILD_TAG=latest
|
|
FROM --platform=$BUILDPLATFORM 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 ./ |