gector / Dockerfile
IDK100boysaj's picture
Update Dockerfile
862801f verified
raw
history blame contribute delete
306 Bytes
FROM python:3.13.5
RUN useradd -m -u 1000 user
USER user
ENV PATH="/home/user/.local/bin:$PATH"
WORKDIR /app
COPY --chown=user ./requirements.txt requirements.txt
RUN pip install --no-cache-dir --upgrade -r requirements.txt
EXPOSE 8080
COPY --chown=user . /app
CMD ["python", "app.py"]