Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a Dockerfile #45

Open
Tracked by #44
tyliec opened this issue Nov 24, 2023 · 0 comments
Open
Tracked by #44

Create a Dockerfile #45

tyliec opened this issue Nov 24, 2023 · 0 comments
Assignees
Labels

Comments

@tyliec
Copy link
Member

tyliec commented Nov 24, 2023

Objective

The primary objective of this issue is to create a Dockerfile for the UIPA.org portal. The Dockerfile will enable the containerization of the application, providing a consistent and portable environment for deployment across different systems.

Background

Docker is a containerization platform that allows applications to be packaged with their dependencies into a standardized unit called a container. Creating a Dockerfile for UIPA.org facilitates ease of deployment, scalability, and ensures consistency in various environments.

Walkthrough

Currently, the process of standing up UIPA (after cloning this repo) includes the following three steps:

source froide-env/bin/activate # to activate the python virtualenv
python3 manage.py runserver
  1. docker-compose up
  2. vite dev

After running the following commands (in separate terminals), http://localhost:8000/ serves the site.

Success Criteria

Docker is used to build and serve the application with one command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

2 participants