Files
manage-servers/Dockerfile
T
Matthias Hinrichs 557630cf98
Build And Test / build (push) Successful in 1m17s
Build And Test / Build and Publish Docker Image (push) Successful in 51s
fix: aktualisiere Go-Version auf 1.25 und passe Dockerfile an, um das kompilierte Binary direkt zu kopieren
2025-11-22 00:43:37 +01:00

19 lines
357 B
Docker

FROM alpine:latest
WORKDIR /root/
# Copy the compiled binary from the builder stage
COPY manage-servers .
# Copy the index.html file for the web server
COPY index.html .
# Copy the servers.json file
# COPY servers.json .
# Expose the port the web server listens on
EXPOSE 8080
# Command to run the application
ENTRYPOINT ["./manage-servers", "serve"]