Skip to content

Commit

Permalink
build: update path to modules crate
Browse files Browse the repository at this point in the history
  • Loading branch information
kszinhu committed Feb 18, 2024
1 parent afaed06 commit 1ee5545
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ FROM alpine:latest AS runtime
ARG APP=/usr/src/app

# System dependencies
RUN apk add --no-cache ca-certificates tzdata yt-dlp
RUN apk add --no-cache ca-certificates tzdata yt-dlp postgresql-dev

# Copy the binary from the builder stage
COPY --from=builder /usr/src/app/bostil-bot/target/release/bostil-bot ${APP}/bostil-bot
COPY --from=builder /usr/src/app/bostil-bot/target/x86_64-unknown-linux-musl/release/bostil-bot ${APP}/bostil-bot

# Copy public files from the builder stage
COPY --from=builder /usr/src/app/bostil-bot/public ${APP}/public
COPY --from=builder /usr/src/app/bostil-bot/app/public ${APP}/public

RUN chmod +x ${APP}/bostil-bot
WORKDIR ${APP}
Expand Down

0 comments on commit 1ee5545

Please sign in to comment.