Files
manage-servers/Dockerfile
T
Matthias Hinrichs 303f0ec9d3
Build And Test / build (push) Successful in 43s
Build And Test / Build and Publish Docker Image (push) Failing after 31s
fix: aktualisiere den Pfad zur servers.json-Datei und füge das Verzeichnis /config im Dockerfile hinzu
2025-11-22 01:45:22 +01:00

21 lines
376 B
Docker

FROM alpine:latest
RUN mkdir /config
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"]