åæ© éçºç°å¢ã»æ¬çªç°å¢ã§dockerã使ã£ã¦ã¿ããï¼ã¨æã£ã¦è©¦ããã¨ããä½ç¹ãè©°ã¾ã£ãã®ã§åå¿é²ã¨ãã¦Next.jsãdockerã§ç°å¢æ§ç¯ããæ¹æ³ãè¨ãã¦ããã¾ãã éçºç°å¢ å ¬å¼ã®ãã³ãã¬ã¼ãããã¨ã«ä½ã£ã¦ããã¾ãã FROM node:18-alpine WORKDIR /app COPY package.json yarn.lock* ./ RUN if [ -f yarn.lock ]; then yarn --frozen-lockfile; \ else echo "Warning: Lockfile not found. It is recommended to commit lockfiles to version control." && yarn install; \ fi COPY src ./src COPY public ./public COPY next.
{{#tags}}- {{label}}
{{/tags}}