
* Add tabs to apps page * Detect app in tunnel * Disable manifest install if Saleor Apps context * Show only app origin instead full manifest * Add copy manifest feature * Update tests * Add ENV with marketplace endpoint for fetching saleor apps * Fetch Saleor apps for Marketplace and display them in the tab, otherwise hide * Code review fixes * Extract translation messages * Update tests
16 lines
333 B
Docker
16 lines
333 B
Docker
FROM node:14
|
|
WORKDIR /app
|
|
COPY package*.json ./
|
|
RUN npm install
|
|
COPY . .
|
|
ARG APP_MOUNT_URI
|
|
ARG API_URI
|
|
ARG MARKETPLACE_URL
|
|
ARG SALEOR_APPS_ENDPOINT
|
|
ARG STATIC_URL
|
|
ENV API_URI ${API_URI:-http://localhost:8000/graphql/}
|
|
ENV APP_MOUNT_URI ${APP_MOUNT_URI:-/}
|
|
ENV STATIC_URL ${STATIC_URL:-/}
|
|
|
|
EXPOSE 9000
|
|
CMD npm start -- --host 0.0.0.0
|