source: frontend/Dockerfile@ c0086c0

Last change on this file since c0086c0 was 545738f, checked in by Andrej <asumanovski@…>, 2 weeks ago

Switched to dockerized db and improved Task model and Task Ui

  • Property mode set to 100644
File size: 270 bytes
Line 
1FROM node:22-alpine AS build
2WORKDIR /app
3COPY package*.json ./
4RUN npm ci --legacy-peer-deps
5COPY . .
6RUN VITE_API_BASE_URL=/api npm run build
7
8FROM nginx:alpine
9COPY --from=build /app/dist /usr/share/nginx/html
10COPY nginx.conf /etc/nginx/conf.d/default.conf
11EXPOSE 80
Note: See TracBrowser for help on using the repository browser.