This is a Flask web application for submitting and viewing grades.
926
This is a Flask web application for submitting and viewing grades.
To run the Grade Submission Portal container, use the following Docker command:
docker run --name flask-app --network my-network -p 5001:5001 -e GRADE_SERVICE_HOST=node-server obodochriz/grade-submission-portal
This command does the following:
flask-app.my-network.GRADE_SERVICE_HOST to node-server, which is the name of the Grade Submission API container.obodochriz/grade-submission-portal image.Make sure you have created the Docker network my-network and are running the Grade Submission API container before running the Grade Submission Portal container.
The Docker image is built using the following Dockerfile:
FROM python:3.8-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
EXPOSE 5001
CMD ["python", "app.py"]
The image is based on the Python 3.8 slim base image and runs the app.py file when the container starts.
This project is licensed under the MIT License.
Content type
Image
Digest
sha256:63aa2835e…
Size
51 MB
Last updated
over 2 years ago
docker pull obodochriz/grade-submission-portal