Skip to content

Commit

Permalink
revert dockerfile change
Browse files Browse the repository at this point in the history
  • Loading branch information
wendelfabianchinsamy committed Feb 22, 2024
1 parent f13b591 commit 4102968
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,6 @@ WORKDIR /home/app/webapp
RUN mkdir /etc/service/shoryuken
COPY vendor/docker/shoryuken.sh /etc/service/shoryuken/run

# Copy webapp folder
COPY . /home/app/webapp/
RUN mkdir -p tmp/pids && \
mkdir -p tmp/storage && \
chown -R app:app /home/app/webapp && \
chmod -R 755 /home/app/webapp

# Install Ruby gems
COPY Gemfile* /home/app/webapp/
WORKDIR /home/app/webapp
Expand All @@ -53,6 +46,13 @@ RUN mkdir -p vendor/bundle && \
/sbin/setuser app bundle config set --local path 'vendor/bundle' && \
/sbin/setuser app bundle install

# Copy webapp folder
COPY . /home/app/webapp/
RUN mkdir -p tmp/pids && \
mkdir -p tmp/storage && \
chown -R app:app /home/app/webapp && \
chmod -R 755 /home/app/webapp

# enable SSH
RUN rm -f /etc/service/sshd/down && \
/etc/my_init.d/00_regen_ssh_host_keys.sh
Expand Down

0 comments on commit 4102968

Please sign in to comment.