Skip to content

Commit a3bc841

Browse files
authored
Modify Dockerfile to comment out user setup
Comment out group and user creation commands for homespeakeruser.
1 parent b04152e commit a3bc841

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

HomeSpeaker.Server2/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ RUN dotnet publish "./HomeSpeaker.Server2.csproj" -c $BUILD_CONFIGURATION -o /ap
2727
# This stage is used in production or when running from VS in regular mode (Default when not using the Debug configuration)
2828
FROM base AS final
2929
RUN apt-get install -y curl iputils-ping
30-
RUN groupadd -g 1000 mygroup
30+
# RUN groupadd -g 1000 mygroup
3131
RUN useradd -u 1000 -g mygroup -s /bin/bash -m homespeakeruser
32-
#RUN useradd -ms /bin/bash homespeakeruser
3332
RUN usermod -aG audio homespeakeruser
3433
USER homespeakeruser
3534
WORKDIR /app

0 commit comments

Comments
 (0)