added nginx to serve /repo folder for fdroid app
This commit is contained in:
@@ -10,8 +10,11 @@ WORKDIR /fdroid
|
||||
RUN fdroid init -v
|
||||
RUN fdroid update
|
||||
|
||||
# Second stage: serve the /repo directory using Filebrowser
|
||||
# Second stage: serve the /repo directory using Filebrowser and NGINX
|
||||
FROM filebrowser/filebrowser AS final
|
||||
RUN apk update && apk add nginx
|
||||
COPY --from=build /fdroid/ /
|
||||
COPY settings.json /config/settings.json
|
||||
CMD ["--config", "/config/settings.json"]
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
EXPOSE 8084
|
||||
CMD ["--config", "/config/settings.json", "&", "nginx", "&", "wait"]
|
||||
Reference in New Issue
Block a user