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