small fix

This commit is contained in:
Mateusz Gruszczyński
2026-02-26 14:27:03 +01:00
parent c57c9fd320
commit 2df9ce4547
3 changed files with 7 additions and 3 deletions

View File

@@ -4,7 +4,9 @@ WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN mkdir -p /tmp/uploads && chmod 777 /tmp/uploads
RUN mkdir -p /tmp/uploads && \
chmod 777 /tmp/uploads && \
chmod +x entrypoint.sh
EXPOSE 5000
USER 1000
ENTRYPOINT ["./entrypoint.sh"]