mirror of
https://github.com/marcogll/soul23_placeholder_site_server.git
synced 2026-01-13 13:25:18 +00:00
feat: Remove Caddy and Docker configuration; add Express server with health checker endpoint
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM node:20-alpine
|
||||
|
||||
# Install only production dependencies
|
||||
WORKDIR /app
|
||||
COPY package.json ./
|
||||
|
||||
# npm install will run inside Coolify/Traefik containers where network access exists
|
||||
RUN npm install --omit=dev
|
||||
|
||||
# Copy the rest of the repository
|
||||
COPY . .
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["npm", "start"]
|
||||
Reference in New Issue
Block a user