replace manual SQL migration with goose (v3); embed migrations in binary; remove schema.sql / SCHEMA_PATH
This commit is contained in:
@@ -19,7 +19,6 @@ RUN apk add --no-cache ca-certificates tzdata
|
||||
WORKDIR /data
|
||||
|
||||
COPY --from=builder /usr/local/bin/worktime-bot /usr/local/bin/worktime-bot
|
||||
COPY db/schema.sql /app/db/schema.sql
|
||||
VOLUME ["/data"]
|
||||
|
||||
CMD ["worktime-bot"]
|
||||
|
||||
Reference in New Issue
Block a user