Skip to content

Commit

Permalink
Merge pull request #106 from internetee/test-deployment-directo-vat
Browse files Browse the repository at this point in the history
test deployment directo vat rate
  • Loading branch information
OlegPhenomenon authored Jan 30, 2024
2 parents 0c4e9ae + d53b782 commit 59acf33
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 18 deletions.
28 changes: 14 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,24 +57,24 @@ RUN apt-get install -y --no-install-recommends > /dev/null \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

RUN curl https://chromedriver.storage.googleapis.com/2.46/chromedriver_linux64.zip -o /chromedriver_linux64.zip
RUN apt-get update > /dev/null \
&& apt-get install -yf --no-install-recommends > /dev/null unzip=* \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN unzip chromedriver_linux64.zip -d /usr/local/bin
RUN rm /chromedriver_linux64.zip
# RUN curl https://chromedriver.storage.googleapis.com/2.46/chromedriver_linux64.zip -o /chromedriver_linux64.zip
# RUN apt-get update > /dev/null \
# && apt-get install -yf --no-install-recommends > /dev/null unzip=* \
# && apt-get clean \
# && rm -rf /var/lib/apt/lists/*
# RUN unzip chromedriver_linux64.zip -d /usr/local/bin
# RUN rm /chromedriver_linux64.zip

# RUN npm install --global yarn
RUN npm install -g yarn@latest

RUN curl https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -o /chrome.deb
RUN dpkg -i /chrome.deb || apt-get update > /dev/null \
&& apt-get install -yf --no-install-recommends > /dev/null && apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN dpkg -i /chrome.deb
RUN rm /chrome.deb
RUN sed -i 's/SECLEVEL=2/SECLEVEL=1/' /etc/ssl/openssl.cnf
# RUN curl https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -o /chrome.deb
# RUN dpkg -i /chrome.deb || apt-get update > /dev/null \
# && apt-get install -yf --no-install-recommends > /dev/null && apt-get clean \
# && rm -rf /var/lib/apt/lists/*
# RUN dpkg -i /chrome.deb
# RUN rm /chrome.deb
# RUN sed -i 's/SECLEVEL=2/SECLEVEL=1/' /etc/ssl/openssl.cnf

RUN mkdir -p /opt/webapps/app/tmp/pids
WORKDIR /opt/webapps/app
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ gem 'pdfkit'
gem 'money'
gem 'countries', :require => 'countries/global'
gem 'e_invoice', github: 'internetee/e_invoice', branch: :master
gem 'directo', github: 'internetee/directo', branch: 'master'
gem 'directo', github: 'internetee/directo', branch: :master
gem 'lhv', github: 'internetee/lhv', branch: 'master'
gem 'strong_migrations'
gem 'figaro'
Expand Down
11 changes: 8 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
GIT
remote: https://github.com/internetee/directo.git
revision: a5e0269919b210a9c6c59065648cc5a221166c4c
revision: 41c53f13f40c826c5c295b2988cc9484d918ab9e
branch: master
specs:
directo (1.0.2)
directo (1.1.1)
money (~> 6.13)
nokogiri (~> 1.10)

Expand Down Expand Up @@ -271,6 +271,7 @@ GEM
marcel (1.0.2)
method_source (1.0.0)
mini_mime (1.1.5)
mini_portile2 (2.8.5)
minitest (5.20.0)
money (6.16.0)
i18n (>= 0.6.4, <= 2)
Expand All @@ -288,6 +289,9 @@ GEM
net-protocol
net-ssh (7.2.0)
nio4r (2.7.0)
nokogiri (1.15.4)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
nokogiri (1.15.4-x86_64-linux)
racc (~> 1.4)
nori (2.6.0)
Expand Down Expand Up @@ -322,7 +326,7 @@ GEM
activerecord (>= 5.2)
activesupport (>= 5.2)
public_suffix (5.0.3)
puma (6.4.0)
puma (6.4.2)
nio4r (~> 2.0)
racc (1.7.2)
rack (2.2.8)
Expand Down Expand Up @@ -503,6 +507,7 @@ GEM
zeitwerk (2.6.12)

PLATFORMS
ruby
x86_64-linux

DEPENDENCIES
Expand Down

0 comments on commit 59acf33

Please sign in to comment.