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.
18 lines
326 B
18 lines
326 B
2 years ago
|
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"]
|