Skip to content

Commit

Permalink
test deployment directo vat rate
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleg Hasjanov authored and Oleg Hasjanov committed Jan 30, 2024
1 parent 0c4e9ae commit 56c79bc
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: 'change-directo-code'
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
branch: master
revision: c886fccb9ca2e5f481124f07e65613a5b64cab74
branch: change-directo-code
specs:
directo (1.0.2)
directo (1.0.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 @@ -503,6 +507,7 @@ GEM
zeitwerk (2.6.12)

PLATFORMS
ruby
x86_64-linux

DEPENDENCIES
Expand Down

0 comments on commit 56c79bc

Please sign in to comment.