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

10 lines
231 B

FROM tensorflow/tensorflow:2.9.1
WORKDIR /app
COPY requirements.txt /app
RUN mkdir -p /app/data && \
pip install -r /app/requirements.txt
COPY . /app/
EXPOSE 5000
ENV PASTEY_DATA_DIRECTORY=/app/data
CMD ["python3", "app.py"]