sw-fw-less
  • sw-fw-less
  • get started
    • Installation
    • Directory
    • Config
    • Quick Start
  • MVC
    • Router
    • Middleware
    • Request
    • Param Validator
    • Model
    • Response
  • Database
    • MySQL
    • Redis
    • Elasticsearch
  • Storage
    • General
    • File
    • Qiniu
    • Alioss
  • OTHER
    • Pagination
    • Helper
    • Error Handler
    • AMQP-0-9-1
    • Events
  • Deployment
    • Nginx
    • Docker
  • APPENDIX
    • Development Rules
Powered by GitBook
On this page

Was this helpful?

  1. Deployment

Docker

Build Image

docker build . -t luoxiaojun1992/sw-fw-less:latest

Run Container

docker run -d -P -v ./:/var/www/sw-fw-less luoxiaojun1992/sw-fw-less:latest

Sign in Container

docker exec -it {CONTAINER ID} bash
PreviousNginxNextDevelopment Rules

Last updated 6 years ago

Was this helpful?