feat: docker buildx.
Some checks failed
Build and Push Docker Image / buildx (push) Has been cancelled
Some checks failed
Build and Push Docker Image / buildx (push) Has been cancelled
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
services:
|
||||
Timeline:
|
||||
build: .
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
platforms:
|
||||
- linux/amd64
|
||||
- linux/arm64
|
||||
image: registry.cn-beijing.aliyuncs.com/licsber/timeline:latest
|
||||
ports:
|
||||
- "3000:3000"
|
||||
environment:
|
||||
@@ -8,5 +14,4 @@ services:
|
||||
- JWT_SECRET=${JWT_SECRET:-change-this-secret-key-in-production}
|
||||
volumes:
|
||||
- ./data.db:/app/data.db
|
||||
- ./public:/app/public
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user