liquid/nginx/Dockerfile
2025-05-15 18:38:29 +07:00

23 lines
537 B
Docker

FROM nginx:latest
RUN rm /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/conf.d
# # Этап 1: Клонирование репозитория
# FROM alpine/git as clone-stage
# ARG UE_STATIC_REPO
# RUN git clone --depth 1 ${UE_STATIC_REPO} /liquid
# FROM nginx:latest
# RUN rm /etc/nginx/conf.d/default.conf
# COPY nginx.conf /etc/nginx/conf.d
# RUN mkdir -p /home/static && mkdir -p /home/media
# COPY --from=clone-stage /liquid/ /home/static/liquid/
# COPY --from=app_static . /home/static/
# WORKDIR /home/static