feat: Everest entrypoint + OCPI/EVerest config scripts
This commit is contained in:
12
tools/citrineos-core-main/Dockerfile.ui
Normal file
12
tools/citrineos-core-main/Dockerfile.ui
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM node:24.16.0-alpine
|
||||
WORKDIR /app
|
||||
ENV NODE_ENV=production
|
||||
RUN addgroup --system --gid 1001 nodejs && adduser --system --uid 1001 nextjs
|
||||
COPY --chown=nextjs:nodejs apps/operator-ui/.next/standalone ./
|
||||
COPY --chown=nextjs:nodejs apps/operator-ui/.next/static ./apps/operator-ui/.next/static
|
||||
COPY --chown=nextjs:nodejs apps/operator-ui/public ./apps/operator-ui/public
|
||||
USER nextjs
|
||||
EXPOSE 3000
|
||||
ENV PORT=3000
|
||||
ENV HOSTNAME="0.0.0.0"
|
||||
CMD ["node", "apps/operator-ui/server.js"]
|
||||
Reference in New Issue
Block a user