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 ./ COPY server/go.mod server/go.sum ./
RUN go mod download RUN go mod download
RUN apt-get update && apt-get install -y ffmpeg
COPY server/ ./ COPY server/ ./
ENV ENV=production ENV ENV=production

View file

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