Update Dockerfile
This commit is contained in:
parent
001628871c
commit
1bbd193591
1 changed files with 2 additions and 5 deletions
|
|
@ -29,9 +29,6 @@ RUN apk add --no-cache ca-certificates
|
|||
# Copy binary from builder
|
||||
COPY --from=builder /build/telegram-antiscam .
|
||||
|
||||
# Set default config path
|
||||
ENV CONFIG_PATH=/app/config.yaml
|
||||
|
||||
# Run the bot
|
||||
# Run the bot with config path
|
||||
ENTRYPOINT ["/app/telegram-antiscam"]
|
||||
CMD ["${CONFIG_PATH}"]
|
||||
CMD ["/app/config.yaml"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue