forked from zedeus/nitter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from alnmy/guest_accounts
Guest accounts
- Loading branch information
Showing
49 changed files
with
652 additions
and
631 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
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 |
---|---|---|
|
@@ -10,4 +10,5 @@ nitter | |
/public/css/style.css | ||
/public/md/*.html | ||
nitter.conf | ||
guest_accounts.json* | ||
dump.rdb |
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,7 +1,7 @@ | ||
FROM alpine:3.18 as nim | ||
LABEL maintainer="[email protected]" | ||
|
||
RUN apk --no-cache add gcc git libc-dev libsass-dev "nim=1.6.14-r0" nimble pcre | ||
RUN apk --no-cache add libsass-dev pcre gcc git libc-dev "nim=1.6.14-r0" "nimble=0.13.1-r2" | ||
|
||
WORKDIR /src/nitter | ||
|
||
|
@@ -15,9 +15,11 @@ RUN nimble build -d:danger -d:lto -d:strip \ | |
|
||
FROM alpine:3.18 | ||
WORKDIR /src/ | ||
RUN apk --no-cache add ca-certificates pcre openssl1.1-compat | ||
RUN apk --no-cache add pcre ca-certificates openssl1.1-compat | ||
COPY --from=nim /src/nitter/nitter ./ | ||
COPY --from=nim /src/nitter/nitter.example.conf ./nitter.conf | ||
COPY --from=nim /src/nitter/public ./public | ||
EXPOSE 8080 | ||
RUN adduser -h /src/ -D -s /bin/sh nitter | ||
USER nitter | ||
CMD ./nitter |
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 was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.