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:
35
Dockerfile
35
Dockerfile
@@ -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" ]
|
||||
Reference in New Issue
Block a user