We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54fb7fa commit 3d1f0e1Copy full SHA for 3d1f0e1
CoreWebApiTest/Dockerfile
@@ -1,5 +1,8 @@
1
# Build runtime image
2
FROM microsoft/aspnetcore:2.0
3
+ENV ASPNETCORE_URLS=http://+:8080
4
+RUN useradd --create-home -s /bin/bash svcwebuser
5
WORKDIR /app
-COPY publish/ .
6
+USER svcwebuser
7
+COPY publish/* ./
8
ENTRYPOINT ["dotnet", "CoreWebApiTest.dll"]
0 commit comments