This commit is contained in:
Minecon724 2025-03-03 15:26:14 +01:00
commit 48598219a3
No known key found for this signature in database
GPG key ID: 3CCC4D267742C8E8
3 changed files with 0 additions and 7 deletions

View file

@ -7,8 +7,4 @@ RUN ./mvnw clean package
FROM eclipse-temurin:21-alpine
WORKDIR /opt/app
COPY --from=build /opt/app-build/target/dcdn-1.0-SNAPSHOT-shaded.jar /opt/app/app.jar
# Install sftp server
RUN apk add --no-cache openssh-sftp-server
RUN adduser -D site-deploy
CMD ["java", "-jar", "/opt/app/app.jar"]

View file

@ -4,8 +4,6 @@ services:
context: .
dockerfile: Dockerfile
restart: unless-stopped
ports:
- "[::1]:222:222"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- webroot:/var/www/html

View file

@ -1,7 +1,6 @@
package eu.m724;
import eu.m724.docker.DockerEngine;
import eu.m724.docker.exception.FailedRequestException;
import eu.m724.docker.proxy.TcpSocketProxy;
import org.json.JSONObject;
import org.slf4j.Logger;