fix(docker): added Spotify env variables and Ffmpeg binary to Dockerfile

This commit is contained in:
0xiamsanj 2025-09-22 01:00:22 +05:30
parent e51b06c159
commit ef71a970d9
2 changed files with 7 additions and 4 deletions

View file

@ -19,6 +19,7 @@ WORKDIR /home/seek-tune
COPY server/go.mod server/go.sum ./
RUN go mod download
RUN apt-get update && apt-get install -y ffmpeg
COPY server/ ./
ENV ENV=production

View file

@ -1,4 +1,4 @@
version: '3.1'
version: "3.1"
volumes:
seek-tune-db:
@ -6,7 +6,7 @@ volumes:
services:
seek-tune:
image: 'seek-tune'
image: "seek-tune"
restart: unless-stopped
ports:
- 8080:5000
@ -20,6 +20,8 @@ services:
DB_PORT: ${DB_PORT:-27017}
REACT_APP_BACKEND_URL: ${REACT_APP_BACKEND_URL:-http://localhost:8080}
SPOTIFY_CLIENT_ID: ${SPOTIFY_CLIENT_ID}
SPOTIFY_CLIENT_SECRET: ${SPOTIFY_CLIENT_SECRET}
build:
context: .