fix: aktualisiere das Docker-Image auf v0.1.3 und passe die Verzeichnispfade im Dockerfile und docker-compose.yml an
This commit is contained in:
+6
-4
@@ -1,8 +1,10 @@
|
||||
FROM docker.hnrx.net/alpine:latest
|
||||
|
||||
RUN mkdir /config
|
||||
# Create application directory
|
||||
RUN mkdir -p /app/config
|
||||
|
||||
WORKDIR /root/
|
||||
# Set working directory
|
||||
WORKDIR /app/
|
||||
|
||||
# Copy the compiled binary from the builder stage
|
||||
COPY manage-servers .
|
||||
@@ -10,9 +12,9 @@ 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 /app/
|
||||
|
||||
# Make the binary executable
|
||||
RUN chmod +x ./manage-servers
|
||||
|
||||
# Expose the port the web server listens on
|
||||
|
||||
Reference in New Issue
Block a user