Spaces:
Runtime error
Runtime error
Florin Bobiș
commited on
Commit
•
ce73f00
1
Parent(s):
3b2ed62
solved dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -20,4 +20,6 @@ RUN dotnet publish "./QuotesAPI.csproj" -c $BUILD_CONFIGURATION -o /app/publish
|
|
20 |
FROM base AS final
|
21 |
WORKDIR /app
|
22 |
COPY --from=publish /app/publish .
|
|
|
|
|
23 |
ENTRYPOINT ["dotnet", "QuotesAPI.dll"]
|
|
|
20 |
FROM base AS final
|
21 |
WORKDIR /app
|
22 |
COPY --from=publish /app/publish .
|
23 |
+
# add write permission for the app user
|
24 |
+
RUN chmod 777 /app
|
25 |
ENTRYPOINT ["dotnet", "QuotesAPI.dll"]
|