Skip to content

Latest commit

 

History

History
69 lines (46 loc) · 1.37 KB

README.md

File metadata and controls

69 lines (46 loc) · 1.37 KB

GoFiber Docker Boilerplate

Release Discord Test Security Linter

IDE Development

Visual Studio Code

Use the following plugins, in this boilerplate project:

Development

Start the application

go run app.go

Use local container

# Clean packages
make clean-packages

# Generate go.mod & go.sum files
make requeriments

# Generate docker image
make build

# Generate docker image with no cache
make build-no-cache

# Run the projec in a local container
make up

# Run local container in background
make up-silent

# Stop container
make stop

# Start container
make start

Production

docker build -t gofiber .
docker run -d -p 3000:3000 gofiber

Go to http://localhost:3000:

Go Fiber Docker Boilerplate