Files
aio_html_generator/Dockerfile
Mateusz Gruszczyński 2df9ce4547 small fix
2026-02-26 14:27:03 +01:00

13 lines
314 B
Docker

FROM python:3.14-alpine
RUN apk add --no-cache gcc musl-dev linux-headers
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN mkdir -p /tmp/uploads && \
chmod 777 /tmp/uploads && \
chmod +x entrypoint.sh
EXPOSE 5000
USER 1000
ENTRYPOINT ["./entrypoint.sh"]