mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-22 23:15:33 +00:00
Update Dockerfile
This commit is contained in:
parent
ec86a55b48
commit
0a8cf7e161
|
@ -69,4 +69,4 @@ jobs:
|
|||
- docker run -d -p 127.0.0.1:8080:8080/tcp $IMAGE_NAME:$TRAVIS_COMMIT
|
||||
- sleep 10
|
||||
- cd tests
|
||||
- pytest --headless -n 8 --reruns 10 --reruns-delay 2
|
||||
- pytest --headless -n 8 --reruns 3 --reruns-delay 2
|
||||
|
|
|
@ -11,9 +11,9 @@ RUN apk update \
|
|||
&& strip -s nitter \
|
||||
&& nimble scss
|
||||
|
||||
FROM alpine
|
||||
FROM redis:6.0.4-alpine
|
||||
WORKDIR /src/
|
||||
RUN apk --no-cache add pcre-dev sqlite-dev
|
||||
COPY --from=nim /src/nitter/nitter /src/nitter/nitter.conf ./
|
||||
COPY --from=nim /src/nitter/nitter /src/nitter/start.sh /src/nitter/nitter.conf ./
|
||||
COPY --from=nim /src/nitter/public ./public
|
||||
CMD redis-server & ./nitter
|
||||
CMD ./start.sh
|
||||
|
|
Loading…
Reference in a new issue