Skip to content

Commit

Permalink
fix: meuk
Browse files Browse the repository at this point in the history
  • Loading branch information
rmoesbergen authored Apr 17, 2024
1 parent c487958 commit e8dd827
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ COPY app/requirements.txt /tmp/requirements.txt
RUN pip install --no-cache-dir -r /tmp/requirements.txt

RUN useradd -m -U -d /app media
USER media
WORKDIR /app

COPY . /app
COPY --chown=media:media /app
RUN chmod +x /app/start.sh

USER media

ENV PYTHONPATH=/
ENTRYPOINT ["/app/start.sh"]

0 comments on commit e8dd827

Please sign in to comment.