File tree 4 files changed +23
-53
lines changed
4 files changed +23
-53
lines changed Original file line number Diff line number Diff line change 1
- SD_BACKEND_URL = " http://localhost:9000"
2
- SD_BACKEND_API = " /api/v1"
3
- SD_BACKEND_V2 = false
4
-
5
- # SD_BACKEND_URL="http://80.158.108.251:8000"
6
- # SD_BACKEND_API="/v2"
7
- # SD_BACKEND_V2=true
1
+ SD_BACKEND_URL = " http://80.158.108.251:8000"
2
+ SD_BACKEND_API = " /v2"
3
+ SD_BACKEND_V2 = true
8
4
9
5
# only for development
10
6
SD_BACKEND_FILE = false
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ FROM node:lts-alpine AS base
2
+
3
+ ENV PNPM_HOME="/pnpm"
4
+ ENV PATH="$PNPM_HOME:$PATH"
5
+ RUN corepack enable
6
+
7
+ FROM base AS prod
8
+
9
+ COPY pnpm-lock.yaml /app
10
+ WORKDIR /app
11
+ RUN pnpm fetch
12
+
13
+ COPY . /app
14
+ RUN pnpm run build
15
+
16
+ FROM steebchen/nginx-spa:stable
17
+ COPY --from=prod /app/dist/ /app
18
+ EXPOSE 80
19
+ CMD [ "nginx" ]
Original file line number Diff line number Diff line change 4
4
"type" : " module" ,
5
5
"scripts" : {
6
6
"dev" : " farm start" ,
7
- "start" : " farm start " ,
7
+ "start" : " farm preview " ,
8
8
"build" : " farm build" ,
9
- "preview" : " farm preview" ,
10
9
"clean" : " farm clean"
11
10
},
12
11
"dependencies" : {
You can’t perform that action at this time.
0 commit comments