# Docker

Here is simple setup to help you start deploy your project in a VPS. You can run these commands both in backend and frontend.

# Build image and run Container

# Development

docker-compose up -d --build

# Stop the container

docker-compose stop

# Production

docker-compose -f docker-compose-prod.yml up -d --build

# Stop production

docker stop container-name

# Bash Command

# Start Development Environment

sh ./deploy/bin/dev.sh

# Stop Development Environment

sh ./deploy/bin/stop-dev.sh

# Start Production Environment

sh ./deploy/bin/prod.sh

# Stop Production Environment

sh ./deploy/bin/stop-prod.sh