Skip to content

Commit

Permalink
Revert "clean up dockerfile"
Browse files Browse the repository at this point in the history
This reverts commit 87c4664.
  • Loading branch information
a.civier committed May 14, 2024
1 parent 21b10ae commit 628cd78
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,20 @@ RUN dotnet tool install --global dotnet-ef
## ---------------------------------------------------------------------------------- ##
FROM build-base-with-dependencies as prod-build

ARG VITE_AZURE_CLIENT_ID
ARG VITE_AZURE_AUTHORITY
ARG VITE_TODO_API_ENDPOINT_URL
ARG VITE_TODO_API_SCOPES_READ
ARG VITE_TODO_API_SCOPES_WRITE

WORKDIR /workspace

ENV VITE_AZURE_CLIENT_ID=${VITE_AZURE_CLIENT_ID}
ENV VITE_AZURE_AUTHORITY=${VITE_AZURE_AUTHORITY}
ENV VITE_TODO_API_ENDPOINT_URL=${VITE_TODO_API_ENDPOINT_URL}
ENV VITE_TODO_API_SCOPES_READ=${VITE_TODO_API_SCOPES_READ}
ENV VITE_TODO_API_SCOPES_WRITE=${VITE_TODO_API_SCOPES_WRITE}

# Build and publish a release
RUN dotnet publish -c Release -o out

Expand Down

0 comments on commit 628cd78

Please sign in to comment.