mirror of
https://github.com/OnyxALeroy/Cephalon-Onni.git
synced 2026-09-10 17:37:47 +02:00
15 lines
335 B
Docker
15 lines
335 B
Docker
FROM node:20-alpine AS build
|
|
WORKDIR /app
|
|
|
|
COPY Cephalon-Onni/package*.json ./
|
|
RUN npm install
|
|
COPY Cephalon-Onni/ .
|
|
RUN npm run build
|
|
|
|
FROM nginx:alpine
|
|
RUN rm /etc/nginx/conf.d/default.conf
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
COPY --from=build /app/dist /usr/share/nginx/html
|
|
|
|
EXPOSE 80
|
|
CMD ["nginx", "-g", "daemon off;"]
|