Skip to content

Commit

Permalink
static files node env
Browse files Browse the repository at this point in the history
  • Loading branch information
apricot13 committed Mar 28, 2024
1 parent ee7880a commit 383627c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test-in-herokuish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ jobs:
# outpost:test /bin/herokuish procfile exec bin/bundle exec rails assets:precompile

- name: Run the tests in the docker container
env:
RAILS_SERVE_STATIC_FILES: true
run: |
docker run --rm --name outpost_test \
--network host \
Expand Down
4 changes: 4 additions & 0 deletions Dockerfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,9 @@ RUN echo 'export PATH="/opt/chrome:/opt/chromedriver:$PATH"' >> ~/.bashrc
RUN echo "Chrome: " && chrome --version
RUN echo "Chromedriver: " && chromedriver --version

RUN echo $RAILS_ENV
RUN echo $NODE_ENV
RUN echo $RAILS_SERVE_STATIC_FILES

ENTRYPOINT [ "/bin/herokuish" ]
CMD [ "buildpack", "test" ]

0 comments on commit 383627c

Please sign in to comment.