39948-vm/backend/Dockerfile
2026-07-01 15:45:38 +02:00

22 lines
384 B
Docker

FROM node:24-alpine
# Bash is required by docker/wait-for-it.sh when this image is used by docker-compose.
# FFmpeg is bundled by ffmpeg-static/ffprobe-static npm packages.
RUN apk add --no-cache bash
# Create app directory
WORKDIR /usr/src/app
# Install app dependencies
COPY package*.json ./
RUN npm ci
# Bundle app source
COPY . .
EXPOSE 3000
CMD [ "npm", "run", "start" ]