fix: format Dockerfile for improved readability and consistency

This commit is contained in:
2025-08-18 13:54:41 +00:00
parent 7973c9e2c8
commit 1104c079dc

View File

@@ -1,10 +1,24 @@
# NoiseDash - Audio sample management platform
FROM node:20
LABEL maintainer="kaythomas@pm.me"
# Set working directory
WORKDIR /var/noisedash
# Copy package files and install dependencies
COPY package*.json ./
RUN npm install --force
# Copy application code (includes default config files)
COPY . .
ENV NODE_ENV production
# Set production environment and build frontend
ENV NODE_ENV=production
RUN npm run build
# Expose application port
EXPOSE 1432
# Start the server
CMD [ "node", "server/bin/www.js" ]