mirror of
https://github.com/casjaysdevdocker/gitea
synced 2024-11-21 11:23:07 -05:00
🗃️ Committing everything that changed 🗃️
Dockerfile
This commit is contained in:
parent
bf4673aff7
commit
472d8ff177
@ -15,7 +15,7 @@ ARG USER="root"
|
|||||||
ARG SHELL_OPTS="set -e -o pipefail"
|
ARG SHELL_OPTS="set -e -o pipefail"
|
||||||
|
|
||||||
ARG SERVICE_PORT="80"
|
ARG SERVICE_PORT="80"
|
||||||
ARG EXPOSE_PORTS=""
|
ARG EXPOSE_PORTS="22"
|
||||||
ARG PHP_VERSION="system"
|
ARG PHP_VERSION="system"
|
||||||
ARG NODE_VERSION="system"
|
ARG NODE_VERSION="system"
|
||||||
ARG NODE_MANAGER="system"
|
ARG NODE_MANAGER="system"
|
||||||
@ -230,7 +230,7 @@ ENV TIMEZONE="${TZ}"
|
|||||||
ENV LANG="${LANGUAGE}"
|
ENV LANG="${LANGUAGE}"
|
||||||
ENV TERM="xterm-256color"
|
ENV TERM="xterm-256color"
|
||||||
ENV PORT="${SERVICE_PORT}"
|
ENV PORT="${SERVICE_PORT}"
|
||||||
ENV ENV_PORTS="${ENV_PORTS}"
|
ENV ENV_PORTS="${EXPOSE_PORTS}"
|
||||||
ENV CONTAINER_NAME="${IMAGE_NAME}"
|
ENV CONTAINER_NAME="${IMAGE_NAME}"
|
||||||
ENV HOSTNAME="casjaysdev-${IMAGE_NAME}"
|
ENV HOSTNAME="casjaysdev-${IMAGE_NAME}"
|
||||||
ENV PHP_SERVER="${PHP_SERVER}"
|
ENV PHP_SERVER="${PHP_SERVER}"
|
||||||
@ -244,7 +244,7 @@ COPY --from=build /. /
|
|||||||
|
|
||||||
VOLUME [ "/config","/data" ]
|
VOLUME [ "/config","/data" ]
|
||||||
|
|
||||||
EXPOSE ${SERVICE_PORT} ${ENV_PORTS}
|
EXPOSE ${SERVICE_PORT} ${EXPOSE_PORTS}
|
||||||
|
|
||||||
CMD [ "tail", "-f", "/dev/null" ]
|
CMD [ "tail", "-f", "/dev/null" ]
|
||||||
ENTRYPOINT [ "tini","--","/usr/local/bin/entrypoint.sh" ]
|
ENTRYPOINT [ "tini","--","/usr/local/bin/entrypoint.sh" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user