We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c07ac1 commit 5af6859Copy full SHA for 5af6859
Dockerfile
@@ -28,10 +28,10 @@ FROM alpine:latest AS runner
28
# Install runtime dependencies for the compiled binary (libsqlite3 & CA certs)
29
RUN apk add --no-cache ca-certificates sqlite-libs
30
31
-WORKDIR /app
+WORKDIR /
32
33
# Copy compiled binary and application assets
34
-COPY --from=builder /app/todo-app ./
+COPY --from=builder /app/todo-app ./app/todo-app
35
36
# Create data directory
37
RUN mkdir /data
@@ -46,4 +46,4 @@ ENV PORT=8081
46
# Run as non-root for security where possible
47
USER nobody
48
49
-ENTRYPOINT ["./todo-app"]
+ENTRYPOINT ["./app/todo-app"]
0 commit comments