Merge pull request #16 from redrockjs/dev
fix: Dockerfile
This commit was merged in pull request #16.
This commit is contained in:
@@ -34,6 +34,7 @@ RUN chown nextjs:nodejs .next
|
|||||||
# Копируем необходимые файлы из стадии builder
|
# Копируем необходимые файлы из стадии builder
|
||||||
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
|
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
|
||||||
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
|
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
|
||||||
|
COPY --from=builder --chown=nextjs:nodejs /app/public /app/public
|
||||||
|
|
||||||
# Переключаем на пользователя nextjs
|
# Переключаем на пользователя nextjs
|
||||||
USER nextjs
|
USER nextjs
|
||||||
|
|||||||
Reference in New Issue
Block a user