Remove running service commands since they don't actually keep the programs enabled.
This commit is contained in:
@@ -6,8 +6,6 @@ FROM debian:bookworm-slim
|
|||||||
## Setup ##
|
## Setup ##
|
||||||
# System Dependencies
|
# System Dependencies
|
||||||
RUN apt-get update && apt-get install -y git hugo nginx cron curl bash sudo htop
|
RUN apt-get update && apt-get install -y git hugo nginx cron curl bash sudo htop
|
||||||
RUN service nginx start
|
|
||||||
RUN service cron start
|
|
||||||
|
|
||||||
# User and Group
|
# User and Group
|
||||||
RUN groupadd -r hugo && useradd -r -g hugo hugo
|
RUN groupadd -r hugo && useradd -r -g hugo hugo
|
||||||
|
Reference in New Issue
Block a user