Files
manage-servers/Dockerfile
T
Matthias Hinrichs 1c60201ba8
Build And Test / build (push) Successful in 50s
Build And Test / Build and Publish Docker Image (push) Failing after 34s
fix: ändere das Basis-Image zurück auf alpine:latest
2025-11-22 03:36:14 +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"]