Compare commits

..

3 Commits

Author SHA1 Message Date
2090abcc51 fix: add latest tag for default branch in Docker metadata extraction
All checks were successful
build-and-push-docker / docker (push) Successful in 2m14s
2025-08-18 13:54:46 +00:00
1104c079dc fix: format Dockerfile for improved readability and consistency 2025-08-18 13:54:41 +00:00
7973c9e2c8 fix: update image source and restore volume paths in docker-compose.yml 2025-08-18 13:36:06 +00:00
3 changed files with 21 additions and 9 deletions

View File

@@ -38,6 +38,7 @@ jobs:
type=ref,event=branch
type=ref,event=tag
type=sha
type=raw,value=latest,enable={{is_default_branch}}
- name: Build (PR only)
if: ${{ gitea.event_name == 'pull_request' }}

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

View File

@@ -2,16 +2,13 @@ version: "3"
services:
noisedash:
image: noisedash/noisedash:latest
container_name: noisedash
image: gitea.purpleraft.com/ryan/noisedash:latest
ports:
- "1432:1432"
volumes:
- db:/var/noisedash/db
- samples:/var/noisedash/samples
- ./config/default.json:/var/noisedash/config/default.json
- ./db:/var/noisedash/db
- ./samples:/var/noisedash/samples
# Optional: Override default config if you have custom settings
# - ./config/default.json:/var/noisedash/config/default.json
volumes:
db:
samples: