Files
manage-servers/Dockerfile
T
Matthias Hinrichs 2061bb29c0
Build And Test / build (push) Successful in 54s
Build And Test / Build and Publish Docker Image (push) Successful in 39s
fix: aktualisiere das Docker-Image auf v0.1.3 und passe die Verzeichnispfade im Dockerfile und docker-compose.yml an
2025-11-23 01:22:38 +01:00

25 lines
479 B
Docker

FROM docker.hnrx.net/alpine:latest
# Create application directory
RUN mkdir -p /app/config
# Set working directory
WORKDIR /app/
# Copy the compiled binary from the builder stage
COPY manage-servers .
# Copy the index.html file for the web server
COPY index.html .
RUN ls -la /app/
# Make the binary executable
RUN chmod +x ./manage-servers
# Expose the port the web server listens on
EXPOSE 8080
# Command to run the application
ENTRYPOINT ["./manage-servers", "serve"]