Files
manage-servers/Dockerfile
T
Matthias Hinrichs fe774f8009
Build And Test / build (push) Successful in 1m16s
Build And Test / Build and Publish Docker Image (push) Successful in 41s
fix: aktualisiere das Docker-Image auf v0.1.2 und entferne den ls-Befehl aus dem Dockerfile
2025-11-23 01:12:42 +01:00

23 lines
423 B
Docker

FROM docker.hnrx.net/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 .
RUN chmod +x ./manage-servers
# Expose the port the web server listens on
EXPOSE 8080
# Command to run the application
ENTRYPOINT ["./manage-servers", "serve"]