5a1607c106
ci/woodpecker/manual/woodpecker Pipeline was successful
- Add Dockerfile and .dockerignore for containerisation - Add .woodpecker.yml pipeline (build + deploy to yugioh network on .101) - Add .gitignore to stop tracking .env; replace with .env.example - Add npm start script - Fix index.js: move versionRoutes require before listen, add /health endpoint - Fix git remote push URLs (were pointing at Dashboard repo) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
8 lines
135 B
Docker
8 lines
135 B
Docker
FROM node:20-alpine
|
|
WORKDIR /app
|
|
COPY package*.json ./
|
|
RUN npm ci --omit=dev
|
|
COPY src/ ./src/
|
|
EXPOSE 3000
|
|
CMD ["node", "src/index.js"]
|