1
0

refactor: Some path refactoring

This commit is contained in:
2026-02-11 10:51:02 +01:00
parent 9117044f88
commit faeb0323ba
8 changed files with 40 additions and 36 deletions

View File

@@ -1,23 +1,15 @@
# Use official Node.js image as base
FROM node:18
# Create app directory
WORKDIR /usr/src/app
# Copy package.json and package-lock.json (if available)
COPY package*.json ./
# Install dependencies
RUN npm install
RUN npm ci
# Build
RUN npm run build
# Copy app source code
COPY . .
# Expose the port your app runs on (optional, depends on your app)
EXPOSE 3000
# Start the app
CMD ["npm", "start"]
CMD ["npm", "run", "serve"]