This commit is contained in:
@@ -8,6 +8,9 @@ RUN pnpm install --frozen-lockfile --ignore-scripts
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
ARG API_BASE
|
||||||
|
ENV API_BASE=$API_BASE
|
||||||
|
|
||||||
RUN pnpm exec nuxt generate
|
RUN pnpm exec nuxt generate
|
||||||
|
|
||||||
FROM nginx:stable-alpine
|
FROM nginx:stable-alpine
|
||||||
@@ -15,7 +18,4 @@ COPY --from=builder /app/.output/public /usr/share/nginx/html
|
|||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
ARG API_BASE=https://api.koptilnya.xyz/test-1/
|
|
||||||
ENV API_BASE=$API_BASE
|
|
||||||
|
|
||||||
CMD ["nginx", "-g", "daemon off;"]
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
|
|||||||
Reference in New Issue
Block a user