-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add uploading files without reindex, minor fixes
- Loading branch information
1 parent
0fef0da
commit a80a98e
Showing
8 changed files
with
69 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
FROM python:3.11-alpine3.17 | ||
|
||
RUN apk update | ||
RUN apk add tzdata nginx-mod-http-fancyindex nginx-mod-http-headers-more bash | ||
|
||
ADD requirements.txt /app/ | ||
RUN python3 -m pip install -r /app/requirements.txt | ||
|
||
COPY nginx/nginx.conf /etc/nginx/nginx.conf | ||
COPY nginx/nginx-theme /var/lib/nginx/html/nginx-theme | ||
ADD indexer /app | ||
COPY startup.sh /app/ | ||
WORKDIR /app | ||
|
||
RUN apk update | ||
RUN apk add tzdata nginx-mod-http-fancyindex nginx-mod-http-headers-more bash | ||
RUN python3 -m pip install -r requirements.txt | ||
WORKDIR /app | ||
CMD ["/bin/bash", "/app/startup.sh"] | ||
|
||
CMD ["/bin/bash", "startup.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.