added VOLUME instruction to Dockerfile
This commit is contained in:
parent
f26f961e79
commit
8f9ffe0570
|
@ -4,6 +4,7 @@ FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
|
||||||
USER app
|
USER app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN mkdir ./files && chown app ./files
|
RUN mkdir ./files && chown app ./files
|
||||||
|
VOLUME /app/files
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
||||||
|
|
Loading…
Reference in a new issue