fixing useradd command
This commit is contained in:
parent
e2291fb90e
commit
4a43a87afb
@ -21,7 +21,7 @@ COPY --from=publish /app ./
|
|||||||
ENV DOTNET_EnableDiagnostics=0
|
ENV DOTNET_EnableDiagnostics=0
|
||||||
|
|
||||||
ARG DOCKER_USER=selector
|
ARG DOCKER_USER=selector
|
||||||
RUN addgroup -S $DOCKER_USER && adduser -S $DOCKER_USER -G $DOCKER_USER
|
RUN useradd -r $DOCKER_USER
|
||||||
USER $DOCKER_USER
|
USER $DOCKER_USER
|
||||||
|
|
||||||
ENTRYPOINT ["dotnet", "Selector.CLI.dll"]
|
ENTRYPOINT ["dotnet", "Selector.CLI.dll"]
|
||||||
|
@ -32,7 +32,7 @@ COPY --from=publish /app ./
|
|||||||
ENV DOTNET_EnableDiagnostics=0
|
ENV DOTNET_EnableDiagnostics=0
|
||||||
|
|
||||||
ARG DOCKER_USER=selector
|
ARG DOCKER_USER=selector
|
||||||
RUN addgroup -S $DOCKER_USER && adduser -S $DOCKER_USER -G $DOCKER_USER
|
RUN useradd -r $DOCKER_USER
|
||||||
USER $DOCKER_USER
|
USER $DOCKER_USER
|
||||||
|
|
||||||
ENTRYPOINT ["dotnet", "Selector.Web.dll"]
|
ENTRYPOINT ["dotnet", "Selector.Web.dll"]
|
||||||
|
Loading…
Reference in New Issue
Block a user