Files
noisedash/Dockerfile

25 lines
489 B
Docker

# 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 . .
# 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" ]