dockerize stack

This commit is contained in:
oier committed 2025-06-22 03:13:03 +02:00
1 parent c4caaddb10
commit d74105529e
10 files changed
+643 -1

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
FROM node:22-alpine
# Set working directory
WORKDIR /opt/app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm ci --only=production
# Copy source code
COPY . .
# Build the application
RUN npm run build
# Expose port
EXPOSE 1337
# Start the application
CMD ["npm", "start"]