# Use an official Python runtime as a parent image
FROM tiangolo/uwsgi-nginx-flask

# Set the working directory to /app
WORKDIR /app

# Copy the current directory contents into the container at /app
COPY . .

# Install any needed packages specified in requirements.txt
#pip install flask
RUN pip3 install -r requirement.txt

# Make port 80 available to the world outside this container
EXPOSE 9004

# Define environment variable
#ENV NAME World

# Run app.py when the container launches
CMD ["python", "main.py"]

