You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pastey/Dockerfile-slim

10 lines
238 B

FROM python:3.8.13-slim-bullseye
WORKDIR /app
COPY . /app/
RUN mkdir -p /app/data && \
./patch_no_tensorflow.sh && \
pip install -r /app/requirements.txt
EXPOSE 5000
ENV PASTEY_DATA_DIRECTORY=/app/data
CMD ["python3", "app.py"]