Initial commit
This commit is contained in:
11
apps/server/Dockerfile.dev
Normal file
11
apps/server/Dockerfile.dev
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM node:22-bookworm-slim
|
||||
WORKDIR /app
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends ca-certificates libchromaprint-tools ffmpeg \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
COPY package.json package-lock.json* ./
|
||||
COPY apps/server/package.json apps/server/
|
||||
COPY apps/web/package.json apps/web/
|
||||
RUN if [ -f package-lock.json ]; then npm ci; else npm install; fi
|
||||
EXPOSE 3001
|
||||
CMD ["npm", "run", "dev", "-w", "@adc-retivo/server"]
|
||||
Reference in New Issue
Block a user