Migrate perilous to ubuntu-prod
- Update traefik route to use Docker container names instead of host IPs - Update Dockerfile to build full app with sharp, ejs, marked dependencies - Simplify docker-compose.yml (remove traefik labels, use file provider routing) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
FROM node:18-alpine
|
||||
RUN apk add --no-cache python3 make g++ vips-dev
|
||||
WORKDIR /usr/src/app
|
||||
COPY package.json ./
|
||||
COPY content/package.json ./
|
||||
RUN npm install
|
||||
COPY server.js ./
|
||||
EXPOSE 3000
|
||||
CMD ["node", "server.js"]
|
||||
CMD ["node", "content/server.js"]
|
||||
|
||||
Reference in New Issue
Block a user