Files
manage-servers/Dockerfile
T
Matthias Hinrichs 2021399a10
Build And Test / build (push) Successful in 55s
Build And Test / Build and Publish Docker Image (push) Successful in 1m1s
fix: füge ls-Befehl zur Überprüfung des Verzeichnisinhalts hinzu
2025-11-23 01:08:54 +01:00

25 lines
442 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 ls -la /root/
RUN chmod +x ./manage-servers
# Expose the port the web server listens on
EXPOSE 8080
# Command to run the application
ENTRYPOINT ["./manage-servers", "serve"]