refactor
This commit is contained in:
parent
75205e6e13
commit
48598219a3
3 changed files with 0 additions and 7 deletions
|
@ -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"]
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue