Files
Homarr/Dockerfile
ajnart 66db66944c Trying to change back Docker image
to ghcr.io/linuxserver/baseimage-alpine:3.17
2023-01-05 02:46:12 +09:00

22 lines
433 B
Docker

FROM ghcr.io/linuxserver/baseimage-alpine:3.17
WORKDIR /app
ENV NEXT_TELEMETRY_DISABLED 1
ENV NODE_ENV production
COPY next.config.js ./
COPY public ./public
COPY package.json ./package.json
# Automatically leverage output traces to reduce image size
# https://nextjs.org/docs/advanced-features/output-file-tracing
COPY .next/standalone ./
COPY .next/static ./.next/static
EXPOSE 7575
ENV PORT 7575
CMD ["node", "server.js"]