mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 09:21:43 +02:00
business contact validation + tests
This commit is contained in:
parent
4ed6e90893
commit
6ff5e55a24
23 changed files with 962 additions and 2 deletions
17
Dockerfile
17
Dockerfile
|
@ -6,10 +6,27 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
postgresql-client \
|
||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
RUN apt-get remove -y google-chrome-stable
|
||||
RUN apt-get purge -y google-chrome-stable
|
||||
RUN apt-get autoremove -y && apt-get clean
|
||||
|
||||
ENV CHROME_VERSION="128.0.6613.137"
|
||||
|
||||
RUN wget -q "https://storage.googleapis.com/chrome-for-testing-public/${CHROME_VERSION}/linux64/chrome-linux64.zip" \
|
||||
&& unzip chrome-linux64.zip -d /opt/ \
|
||||
&& rm chrome-linux64.zip
|
||||
|
||||
RUN wget -q "https://storage.googleapis.com/chrome-for-testing-public/${CHROME_VERSION}/linux64/chromedriver-linux64.zip" \
|
||||
&& unzip chromedriver-linux64.zip -d /opt/ \
|
||||
&& mv /opt/chromedriver-linux64/chromedriver /usr/local/bin/ \
|
||||
&& rm -rf chromedriver-linux64.zip /opt/chromedriver-linux64
|
||||
|
||||
RUN mkdir -p /opt/webapps/app/tmp/pids
|
||||
WORKDIR /opt/webapps/app
|
||||
COPY Gemfile Gemfile.lock ./
|
||||
# ADD vendor/gems/omniauth-tara ./vendor/gems/omniauth-tara
|
||||
RUN gem install bundler && bundle install --jobs 20 --retry 5
|
||||
|
||||
ENV PATH="/opt/chrome-linux64:${PATH}"
|
||||
|
||||
EXPOSE 3000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue