|
Last change
on this file since 2a034a2 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 | |
|---|
| 1 | FROM node:22-alpine AS build
|
|---|
| 2 | WORKDIR /app
|
|---|
| 3 | COPY package*.json ./
|
|---|
| 4 | RUN npm ci --legacy-peer-deps
|
|---|
| 5 | COPY . .
|
|---|
| 6 | RUN VITE_API_BASE_URL=/api npm run build
|
|---|
| 7 |
|
|---|
| 8 | FROM nginx:alpine
|
|---|
| 9 | COPY --from=build /app/dist /usr/share/nginx/html
|
|---|
| 10 | COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|---|
| 11 | EXPOSE 80
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.