Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions .vuestorefrontcloud/docker/docs/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
FROM node:14 AS build
FROM node:16-alpine AS build

WORKDIR /var/www

RUN apk add --no-cache \
yarn

COPY . .

# Run dependencies needed to build API Refenrece
RUN yarn install

# Build docs
RUN cd docs \
&& npm install \
&& yarn install \
&& sed -i "s/base: '\/',/base: '\/magento\/',/g" ./.vuepress/config.js \
&& cat ./.vuepress/config.js \
&& npm run build
&& yarn api-extract \
&& yarn build

FROM nginx

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { ComputedRef } from '@nuxtjs/composition-api';
import type { StoreConfig } from '~/../api-client/lib';
import type { StoreConfig } from '@vue-storefront/magento-api';

/** The interface provided by {@link useMagentoConfiguration} composable. */
export interface UseMagentoConfigurationInterface {
Expand Down