Updated :(

This commit is contained in:
Luiz F Picolo 2022-06-15 23:50:18 -04:00
parent 1a70bb5561
commit 11dfe4c421
2 changed files with 10 additions and 2 deletions

View File

@ -16,7 +16,5 @@ WORKDIR /code
COPY . /code COPY . /code
RUN bundle install RUN bundle install
RUN cd public
RUN yarn install
EXPOSE 4567 EXPOSE 4567

10
run.sh Normal file
View File

@ -0,0 +1,10 @@
#!/bin/sh
echo '--- run yarn install'
yarn --cwd public/
echo '--- run bundle install'
bundle install
echo '--- create docker image and up it'
sudo docker-compose up -d --build