skip to Main Content

Multistage docker build for Django

I am dockerizing my Django application with docker multi-stage build. Now am facing an issue with dependencies Dockerfile FROM python:3.8-slim-buster AS base WORKDIR /app RUN python -m venv venv ENV PATH="/app/venv:$PATH" COPY requirements.txt . RUN pip install -r requirements.txt &&…

VIEW QUESTION

Dockerfile with ARG to FROM

I'm trying to use nginxinc/nginx-unprivileged with a different uid and gid for the nginx workers. For this I'm supplying the UID and GID docker parameters, but they seem to be overwritten by the default ones. Here's two variations I tried:…

VIEW QUESTION
Back To Top
Search