make a notes folder in dockerfile

This commit is contained in:
Ryan Peters 2024-01-08 17:17:38 -05:00
parent c38e4cd8bf
commit 9309b7012e

View File

@ -6,6 +6,7 @@ RUN dotnet publish "BinaryDad.Notes.csproj" -c Release -o /app/publish /p:UseApp
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
WORKDIR /app WORKDIR /app
RUN mkdir notes
COPY --from=build /app/publish . COPY --from=build /app/publish .
EXPOSE 8080 EXPOSE 8080