localization for ntfy and mail
This commit is contained in:
@@ -2,17 +2,23 @@ FROM node:20-alpine AS build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
# Install dependencies
|
||||
COPY frontend/package*.json ./
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
# Copy source files
|
||||
COPY frontend/tsconfig*.json ./
|
||||
COPY frontend/vite.config.ts ./
|
||||
COPY frontend/index.html ./
|
||||
COPY frontend/src ./src
|
||||
COPY shared ./shared
|
||||
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx:alpine
|
||||
|
||||
COPY --from=build /app/dist /usr/share/nginx/html
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY frontend/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
|
||||
Reference in New Issue
Block a user