mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 11:26:56 -08:00
updated dockerfile
This commit is contained in:
parent
8a008e3a8a
commit
d92ef37a68
1 changed files with 5 additions and 0 deletions
|
@ -6,6 +6,8 @@ RUN apk update
|
|||
RUN apk add pkgconfig
|
||||
RUN apk add --virtual build-deps gcc python3-dev musl-dev tesseract-ocr tesseract-ocr-data-eng ffmpeg
|
||||
|
||||
RUN adduser --disabled-password --gecos "" python
|
||||
|
||||
WORKDIR /app
|
||||
COPY . /app
|
||||
|
||||
|
@ -19,4 +21,7 @@ RUN adduser -D python
|
|||
RUN chown -R python:python /app
|
||||
|
||||
USER python
|
||||
|
||||
EXPOSE 5000
|
||||
|
||||
ENTRYPOINT ["./entrypoint.sh"]
|
||||
|
|
Loading…
Reference in a new issue