mirror of
https://github.com/searxng/searxng.git
synced 2024-11-22 12:10:11 +01:00
some other minor tweaks to move stuff very unlikely to change to the top in efforts to delay cache invalidation
This commit is contained in:
parent
906320d271
commit
dae5bcf253
20
Dockerfile
20
Dockerfile
@ -1,10 +1,16 @@
|
|||||||
FROM alpine:3.10
|
FROM alpine:3.10
|
||||||
|
ENTRYPOINT ["/sbin/tini","--","/usr/local/searx/dockerfiles/docker-entrypoint.sh"]
|
||||||
|
EXPOSE 8080
|
||||||
|
VOLUME /etc/searx
|
||||||
|
VOLUME /var/log/uwsgi
|
||||||
|
RUN addgroup -g ${SEARX_GID} searx && \
|
||||||
|
adduser -u ${SEARX_UID} -D -h /usr/local/searx -s /bin/sh -G searx searx
|
||||||
|
|
||||||
ARG VERSION_GITCOMMIT=unknow
|
ARG VERSION_GITCOMMIT=unknown
|
||||||
ARG SEARX_GIT_VERSION=unknow
|
ARG SEARX_GIT_VERSION=unknown
|
||||||
|
|
||||||
ARG SEARX_GID=1000
|
ARG SEARX_GID=977
|
||||||
ARG SEARX_UID=1000
|
ARG SEARX_UID=977
|
||||||
|
|
||||||
ARG TIMESTAMP_SETTINGS=0
|
ARG TIMESTAMP_SETTINGS=0
|
||||||
ARG TIMESTAMP_UWSGI=0
|
ARG TIMESTAMP_UWSGI=0
|
||||||
@ -14,14 +20,9 @@ ARG LABEL_VCS_URL=
|
|||||||
ENV BASE_URL= \
|
ENV BASE_URL= \
|
||||||
MORTY_KEY= \
|
MORTY_KEY= \
|
||||||
MORTY_URL=
|
MORTY_URL=
|
||||||
EXPOSE 8080
|
|
||||||
VOLUME /etc/searx
|
|
||||||
VOLUME /var/log/uwsgi
|
|
||||||
|
|
||||||
WORKDIR /usr/local/searx
|
WORKDIR /usr/local/searx
|
||||||
|
|
||||||
RUN addgroup -g ${SEARX_GID} searx && \
|
|
||||||
adduser -u ${SEARX_UID} -D -h /usr/local/searx -s /bin/sh -G searx searx
|
|
||||||
|
|
||||||
COPY requirements.txt ./requirements.txt
|
COPY requirements.txt ./requirements.txt
|
||||||
|
|
||||||
@ -59,7 +60,6 @@ RUN su searx -c "/usr/bin/python3 -m compileall -q searx"; \
|
|||||||
echo "VERSION_STRING = VERSION_STRING + \"-$VERSION_GITCOMMIT\"" >> /usr/local/searx/searx/version.py; \
|
echo "VERSION_STRING = VERSION_STRING + \"-$VERSION_GITCOMMIT\"" >> /usr/local/searx/searx/version.py; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ENTRYPOINT ["/sbin/tini","--","/usr/local/searx/dockerfiles/docker-entrypoint.sh"]
|
|
||||||
|
|
||||||
# Keep this argument at the end since it change each time
|
# Keep this argument at the end since it change each time
|
||||||
ARG LABEL_DATE=
|
ARG LABEL_DATE=
|
||||||
|
Loading…
Reference in New Issue
Block a user