Actually truly really NOW actually for real really truly now actually for real fix docker compose in updater
This commit is contained in:
@@ -19,10 +19,6 @@ RUN apt-get update && \
|
||||
apt-get install -y git docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Add user to the docker group
|
||||
ARG DOCKER_GID
|
||||
RUN usermod -aG $DOCKER_GID www-data
|
||||
|
||||
# Create .docker directory and set permissions
|
||||
RUN mkdir -p /var/www/.docker && \
|
||||
chown www-data:www-data /var/www/.docker
|
||||
@@ -30,8 +26,6 @@ RUN mkdir -p /var/www/.docker && \
|
||||
# Copy the PHP file to the Apache document root
|
||||
COPY webhook.php /var/www/html/index.php
|
||||
|
||||
RUN git config --system --add safe.directory *
|
||||
|
||||
# Expose port 80
|
||||
EXPOSE 80
|
||||
|
||||
|
||||
@@ -5,7 +5,8 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
- DOCKER_GID=$DOCKER_GID
|
||||
user: ${DOCKER_CONFIG_DIR_UID}:${DOCKER_CONFIG_DIR_GID}
|
||||
user: ${DOCKER_CONFIG_DIR_UID}:${$DOCKER_GID}
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "6969:80"
|
||||
env_file:
|
||||
|
||||
Reference in New Issue
Block a user