diff --git a/Dockerfile b/Dockerfile index c914126..28404ab 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,4 @@ -FROM golang:1.25 as builder - -WORKDIR /app -COPY bin/app /app/bin/app - FROM alpine:latest as release RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/* -COPY --from=builder /app/bin/app . -COPY entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh -ENTRYPOINT ["/entrypoint.sh"] \ No newline at end of file +COPY bin/app . +ENTRYPOINT ["./app"] \ No newline at end of file diff --git a/entrypoint.sh b/entrypoint.sh deleted file mode 100644 index 67094e5..0000000 --- a/entrypoint.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env bash - -set -e - -./app migration -c /config/config.yaml -exec ./app server -c /config/config.yaml \ No newline at end of file