File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,13 @@ RUN groupadd -g 40054 alma && \
1010 mkdir -p /opt/app && \
1111 chown -R bfs:bfs /opt/app
1212
13+ WORKDIR /opt/app
1314COPY --chown=bfs Gemfile* .ruby-version ./
1415RUN bundle config set force_ruby_platform true
1516RUN bundle config set system 'true'
1617RUN bundle install
1718COPY --chown=bfs . .
1819
1920USER bfs
20- ENTRYPOINT ["/opt/app-root/src /bin/bfs" ]
21+ ENTRYPOINT ["/opt/app/bin/bfs" ]
2122CMD ["help" ]
Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ services:
99 COA_APP_KEY : " ${COA_APP_KEY}"
1010 BFS_SFTP_USER : " ${BFS_SFTP_USER}"
1111 volumes :
12- - ./:/opt/app-root/src :rw
12+ - ./:/opt/app:rw
1313 - ./secrets:/run/secrets:ro
1414 secrets :
1515 - source : SSH_KEY
16- target : /opt/app/src/ .ssh/id_rsa
16+ target : /opt/app/.ssh/id_rsa
1717 uid : " 40061"
1818 gid : " 40061"
1919 mode : 0400
You can’t perform that action at this time.
0 commit comments