确保Docker已安装并正在运行,然后运行:
docker pull ldxw/notepad
docker run -d -p 3000:3000 ldxw/notepad
#version: '3.8'
services:
backend:
image: ldxw/notepad:latest
container_name: notepad
networks:
- notepad
restart: unless-stopped
environment:
NODE_ENV: production
# build:
# context: "."
# target: "runner"
volumes:
- ./backend/storage:/app/backend/storage
- ./backend/public:/app/backend/public
ports:
- "3000:3000"
networks:
notepad:
external: false
ipam:
config:
- subnet: 172.111.0.0/16
Content type
Image
Digest
sha256:d14bbdb93…
Size
189.2 MB
Last updated
about 1 year ago
docker pull ldxw/notepad