mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-07-19 13:45:40 +00:00
Add Pezkuwi SDK UI - Polkadot.js Apps clone
- Clone Polkadot.js Apps repository - Update package.json with Pezkuwi branding - Add Pezkuwi endpoint to production chains (wss://pezkuwichain.app:9944) - Create comprehensive README for SDK UI - Set up project structure with all packages Next steps: - Apply Kurdistan colors (Kesk, Sor, Zer, Spi + Black) to UI theme - Replace logos with Pezkuwi branding - Test build and deployment
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
FROM ubuntu:latest as builder
|
||||
|
||||
# Install any needed packages
|
||||
RUN apt-get update && \
|
||||
apt-get install --no-install-recommends -y build-essential curl git gnupg ca-certificates
|
||||
|
||||
# install nodejs
|
||||
RUN curl -sL https://deb.nodesource.com/setup_lts.x | bash -
|
||||
RUN apt-get install --no-install-recommends -y nodejs && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
RUN npm install yarn -g
|
||||
|
||||
WORKDIR /apps
|
||||
COPY . .
|
||||
|
||||
RUN yarn && NODE_ENV=production yarn build:www
|
||||
|
||||
# ===========================================================
|
||||
FROM nginx:stable-alpine
|
||||
|
||||
# The following is mainly for doc purpose to show which ENV is supported
|
||||
ENV WS_URL=
|
||||
|
||||
WORKDIR /usr/share/nginx/html
|
||||
|
||||
COPY docker/env.sh .
|
||||
|
||||
RUN apk add --no-cache bash; chmod +x env.sh
|
||||
|
||||
COPY docker/nginx.conf /etc/nginx/nginx.conf
|
||||
COPY --from=builder /apps/packages/apps/build /usr/share/nginx/html
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD ["/bin/bash", "-c", "/usr/share/nginx/html/env.sh && nginx -g \"daemon off;\""]
|
||||
Reference in New Issue
Block a user