This commit is contained in:
2025-05-26 21:13:30 -06:00
parent 0a730be6f7
commit b306143db2
4 changed files with 40 additions and 3 deletions

View File

@ -19,7 +19,14 @@ RUN apt-get update && apt-get install -y \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
COPY --from=build /go/bin/app /app
# Create app directory
WORKDIR /app
# Copy the binary
COPY --from=build /go/bin/app /app/himbot
# Copy migrations directory
COPY --from=build /app/migrations /app/migrations
# Set the entrypoint
ENTRYPOINT ["/app"]
ENTRYPOINT ["/app/himbot"]