mirror of
https://github.com/jaypyles/Scraperr.git
synced 2026-05-04 00:10:44 +00:00
28de0f362c
* feat: add recording viewer and vnc * feat: add recording viewer and vnc * feat: add recording viewer and vnc * feat: add recording viewer and vnc * chore: update gitignore [skip ci] * chore: update dev compose [skip ci] * fix: only run manually
23 lines
527 B
Docker
23 lines
527 B
Docker
# Build next dependencies
|
|
FROM node:23.1-slim
|
|
WORKDIR /app
|
|
|
|
# Copy package files first to leverage Docker cache
|
|
COPY package.json yarn.lock ./
|
|
|
|
# Install dependencies in a separate layer
|
|
RUN yarn install --frozen-lockfile
|
|
|
|
# Copy the rest of the application
|
|
COPY tsconfig.json /app/tsconfig.json
|
|
COPY tailwind.config.js /app/tailwind.config.js
|
|
COPY next.config.mjs /app/next.config.mjs
|
|
COPY postcss.config.js /app/postcss.config.js
|
|
|
|
COPY public /app/public
|
|
COPY src /app/src
|
|
|
|
# Build the application
|
|
RUN yarn build
|
|
|
|
EXPOSE 3000 |