frontend-app / Dockerfile
Keys
Fixes
6ff58eb
raw
history blame contribute delete
361 Bytes
# Use an official Node.js slim image for the build stage
FROM node:23-slim
# Set the working directory
WORKDIR /app
# Copy only package files for dependency installation
COPY . .
RUN chmod -R 775 /app
RUN npm install concurrently
RUN npm run install:all
# Expose necessary ports
EXPOSE 5173
EXPOSE 8747
# Start the application
CMD ["npm", "run", "dev:all"]