Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 305 Bytes

deployment-docker.md

File metadata and controls

21 lines (14 loc) · 305 Bytes

Docker & Deployment

Example Dockerfile (uses prebuilt image):

FROM ghcr.io/williamcotton/webpipe:latest

COPY app.wp /app/
COPY public /app/public/
COPY scripts /app/scripts/

CMD ["app.wp"]

Run:

docker build -t myapp .
docker run -p 7770:7770 --env-file .env myapp