feat(web): remove web-server and change web to a static website deployment (#1360)

* feat(web): add deploying static app

* fix(web): linter ignore patterns

* fix(web): cloudfront invalidation and favicons placement

* feat(web-server): remove web-server package in favour of web

* fix(web): remove linter parallel jobs due to oom issue

* fix(mobile): eslintignore paths

* fix(web): copy of components

* fix(web): include building components in building all process

* fix(web): copying of components
This commit is contained in:
Karol Sójko
2022-08-03 14:51:59 +02:00
committed by GitHub
parent 3116ae3883
commit 483cac90cf
110 changed files with 87 additions and 2762 deletions

View File

@@ -1,35 +0,0 @@
FROM ruby:2.7.4-alpine3.14
ARG USERNAME=snjs
ARG UID=1001
ARG GID=$UID
RUN apk add --update --no-cache \
alpine-sdk \
nodejs-current \
python3 \
git \
yarn \
tzdata
RUN addgroup -S $USERNAME -g $GID && adduser -D -S $USERNAME -G $USERNAME -u $UID
WORKDIR /app
RUN chown -R $UID:$GID .
USER $USERNAME
COPY --chown=$UID:$GID . .
RUN yarn install
RUN gem install bundler
RUN yarn build:web-server
EXPOSE 3000
ENTRYPOINT [ "./docker/entrypoint.sh" ]
CMD [ "start" ]