Skip to content

Create a Dockerfile #45

Closed as not planned
Closed as not planned

Description

@tyliec

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions