Repository URL to install this package:
|
Version:
1.0.1-6430f1b ▾
|
FROM project-stage AS client-install-stage
# Install client build dependencies
RUN yarn install
FROM client-install-stage AS client-build-stage
# Copy client files
COPY webpack.config.js postcss.config.js ./
# Copy i18n files
COPY i18n i18n
# Copy application code
COPY src src
# Build and bundle frontend with webpack
RUN yarn build
FROM run-stage
# Copy client files
COPY --from=client-build-stage /app/dist dist
# Copy i18n files
COPY i18n i18n