Skip to content

Create a Dockerfile #45

@tyliec

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions