PetrosStav's picture
Update Dockerfile
4d0c124 verified
raw
history blame
415 Bytes
FROM intelligencenoborders/scinobo-citance-analysis:v0.1.0
# Give permissions
RUN chmod -R 777 /app
# Copy files
COPY download_model.py /app
# Run the download
RUN python /app/download_model.py
# Set the working directory in the container
WORKDIR /app/src
# Expose the port that Gradio will run on
EXPOSE 7860
# Run app.py when the container launches
CMD ["python", "-m", "citance_analysis.server.gradio_app"]