Files
Testing/tus-php/docker/server/Dockerfile
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

21 lines
463 B
Docker

FROM tus-php-base
ENV REDIS_HOST tus-php-redis
ENV REDIS_PORT 6379
RUN apk add --no-cache redis
COPY ./configs/default.conf /etc/nginx/conf.d/default.conf
ENV DOC_ROOT /var/www
ENV SOURCE_CODE ${DOC_ROOT}/html
RUN mkdir -p ${SOURCE_CODE}
VOLUME ${SOURCE_CODE}
WORKDIR ${DOC_ROOT}
RUN mkdir -p ${DOC_ROOT}/uploads && \
chown -R www-data:root ${DOC_ROOT}/uploads
COPY ./entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh