You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
343 B
9 lines
343 B
ARG DJANGO_DOCKER_IMAGE_TAG
|
|
ARG YC_CONTAINER_REGISTRY
|
|
FROM ${DJANGO_DOCKER_IMAGE_TAG} as builder
|
|
RUN python manage.py collectstatic --noinput
|
|
|
|
FROM ${YC_CONTAINER_REGISTRY}/public/nginx:1.23-alpine
|
|
COPY ./deploy/nginx_conf/default.conf /etc/nginx/conf.d/default.conf
|
|
COPY --from=builder /code/django_static /usr/share/nginx/html/django_static
|