Docker file

parent 6c287165
Pipeline #6529 canceled with stages
FROM python:3.7.3-stretch
# Maintainer info
LABEL maintainer="kosaladisanayake.dk@gmail.com"
# Make working directories
RUN mkdir -p /fish-identification-api
WORKDIR /fish-identification-api
# Upgrade pip with no cache
RUN pip install --no-cache-dir -U pip
# Copy application requirements file to the created working directory
COPY requirements.txt .
# Install application dependencies from the requirements file
RUN pip install -r requirements.txt
# Copy every file in the source folder to the created working directory
COPY . .
# Run the python application
CMD ["python", "main.py"]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment