diff --git a/Dockerfile b/Dockerfile index 33e7257..3c54412 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,12 +2,13 @@ FROM node:22-alpine VOLUME /app/storage WORKDIR /app -COPY . . RUN apk add --no-cache bash ffmpeg imagemagick tzdata \ && cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime \ && apk del --purge tzdata +COPY . . + RUN npm install -g npm@latest \ && (cd client && npm ci && npm run build) \ && (cd server && npm ci && npm run build)