Update Dockerfile
This commit is contained in:
@@ -33,7 +33,7 @@ RUN mkdir -p /workspace/ /build/ \
|
|||||||
&& git lfs pull \
|
&& git lfs pull \
|
||||||
&& cd /workspace/git/SPTarkov.Server/ \
|
&& cd /workspace/git/SPTarkov.Server/ \
|
||||||
&& dotnet restore \
|
&& dotnet restore \
|
||||||
&& dotnet publish -o /build/ -c Release -p:SptBuildType=RELEASE -p:SptVersion=4.0.11 \
|
&& dotnet build -c Release -p:SptBuildType=RELEASE -p:SptVersion=4.0.11 \
|
||||||
&& ls /home/container/ \
|
&& ls /home/container/ \
|
||||||
&& rm -rf /workspace/ \
|
&& rm -rf /workspace/ \
|
||||||
&& mv /build/* /home/container/ 2>/dev/null || true \
|
&& mv /build/* /home/container/ 2>/dev/null || true \
|
||||||
@@ -42,7 +42,7 @@ RUN mkdir -p /workspace/ /build/ \
|
|||||||
|
|
||||||
USER container
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container/
|
||||||
|
|
||||||
STOPSIGNAL SIGINT
|
STOPSIGNAL SIGINT
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user