Skip to content

Commit 46a50ca

Browse files
committed
fix: Fix provisioned-instance Dockerfile COPY paths for build context
The docker-security-scan.yml workflow uses context: docker/provisioned-instance for the provisioned-instance image, which means COPY paths should be relative to that directory, not include the full path from root. Changed: - COPY docker/provisioned-instance/supervisord.conf → COPY supervisord.conf - COPY docker/provisioned-instance/entrypoint.sh → COPY entrypoint.sh This matches the build context pattern used for backup and other images.
1 parent ca0e883 commit 46a50ca

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docker/provisioned-instance/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ EXPOSE 22
8080
WORKDIR /home/torrust
8181

8282
# Create supervisor configuration
83-
COPY docker/provisioned-instance/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
83+
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
8484

8585
# Create entrypoint script for initialization
86-
COPY docker/provisioned-instance/entrypoint.sh /usr/local/bin/entrypoint.sh
86+
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
8787
RUN chmod +x /usr/local/bin/entrypoint.sh
8888

8989
# Set entrypoint

0 commit comments

Comments
 (0)