You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
326 B
17 lines
326 B
FROM dart:stable as builder |
|
|
|
WORKDIR /app |
|
|
|
ADD pubspec.yaml . |
|
RUN dart pub get |
|
|
|
|
|
ADD lib ./lib |
|
ADD bin ./bin |
|
RUN dart compile exe bin/unified_push.dart -o bin/nextcloud-push-proxy |
|
|
|
FROM debian:bullseye-slim |
|
|
|
COPY --from=builder /app/bin/nextcloud-push-proxy /usr/local/bin/ |
|
|
|
CMD ["nextcloud-push-proxy", "/data/devices.json"]
|
|
|