Skip to content

Commit

Permalink
Update sbfspot
Browse files Browse the repository at this point in the history
  • Loading branch information
tonobo committed Dec 25, 2023
1 parent 2d2e814 commit ac511e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ RUN bundle update --bundler
RUN bundle install -j $(nproc)
RUN mkdir /srv/sbf
WORKDIR /srv/sbf
RUN tar -xf /srv/sma/sbfspot/SBFspot_SRC_331_Linux_Win32.tar.gz
WORKDIR /srv/sbf/SBFspot
RUN make -j$(nproc) install_sqlite
RUN cp -v /srv/sma/sbfspot/*.cfg bin/Release_SQLite/
RUN tar -xf /srv/sma/sbfspot/V3.9.7.tar.gz
WORKDIR /srv/sbf/SBFspot-3.9.7/SBFspot
RUN make -j$(nproc) sqlite
RUN cp -v /srv/sma/sbfspot/*.cfg sqlite/bin/
WORKDIR /srv/sma
EXPOSE 5000
CMD SMA_SBFPATH=/srv/sbf/SBFspot/bin/Release_SQLite/SBFspot bundle exec unicorn -c unicorn.conf
CMD SMA_SBFPATH=/srv/sbf/SBFspot-3.9.7/SBFspot/sqlite/bin/SBFspot bundle exec unicorn -c unicorn.conf

Binary file added sbfspot/V3.9.7.tar.gz
Binary file not shown.

0 comments on commit ac511e1

Please sign in to comment.