Revert "updated dockerfile"

This reverts commit d92ef37a68.
This commit is contained in:
rimu 2024-10-26 16:30:29 +13:00
parent d92ef37a68
commit b635dc5ee8

View file

@ -6,8 +6,6 @@ RUN apk update
RUN apk add pkgconfig RUN apk add pkgconfig
RUN apk add --virtual build-deps gcc python3-dev musl-dev tesseract-ocr tesseract-ocr-data-eng ffmpeg 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 WORKDIR /app
COPY . /app COPY . /app
@ -21,7 +19,4 @@ RUN adduser -D python
RUN chown -R python:python /app RUN chown -R python:python /app
USER python USER python
EXPOSE 5000
ENTRYPOINT ["./entrypoint.sh"] ENTRYPOINT ["./entrypoint.sh"]