From a2cf8bbbd5b3d61e532de320844df3db25a81ff0 Mon Sep 17 00:00:00 2001 From: Lily Rose Date: Thu, 17 Jul 2025 19:44:28 +1000 Subject: [PATCH] Fix dockerfile --- Dockerfile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8620425..c3b338d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,11 +29,6 @@ FROM ghcr.io/gleam-lang/gleam:${GLEAM_VERSION}-erlang-alpine # Copy the compiled server code from the builder stage COPY --from=builder /build/server/build/erlang-shipment /app -# Set up the entrypoint -WORKDIR /app -RUN echo '#!/bin/sh\nexec ./entrypoint.sh "$@"' > /app/start.sh \ - && chmod +x /app/start.sh - # Add volume for accessing geofeed from host VOLUME /data @@ -45,4 +40,4 @@ ENV PORT=8080 EXPOSE 8080 # Run the server -CMD ["/app/start.sh", "run"] +CMD ["/app/entrypoint.sh", "run"]