Skip to content

Commit

Permalink
Merge branch 'fix/docker' into fix/add-to-our-mailing-list
Browse files Browse the repository at this point in the history
  • Loading branch information
haddadzineddine committed Dec 28, 2022
2 parents a0352e8 + 2972ffc commit 55d8627
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ RUN bundle install --jobs "$(nproc)"
RUN echo "--modules-folder /node_modules" > .yarnrc
COPY --chown=ruby:ruby package.json *yarn* ./
RUN yarn install
RUN gem install rails

ENTRYPOINT ["/app/bin/docker-entrypoint-web"]
# ENTRYPOINT ["/app/bin/docker-entrypoint-web"]

EXPOSE 3000

CMD ["sh"]
CMD ["/bin/bash"]
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ services:
profiles: ["db"]
ports:
- "3306:3306"
volumes:
- db-v:/var/lib/mysql

cache:
deploy:
resources:
Expand All @@ -45,5 +48,6 @@ services:
profiles: ["web"]
command: "yarn build --watch"
volumes:
db-v:
bundle:
node:

0 comments on commit 55d8627

Please sign in to comment.