????
This commit is contained in:
11
Dockerfile
11
Dockerfile
@ -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"]
|
||||
|
Reference in New Issue
Block a user