Skip to content

Commit

Permalink
refactor: move entry point to expo as proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric committed Sep 29, 2019
1 parent 5cfaee2 commit caf499b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@ FROM bycedric/expo-cli:3

COPY entrypoint.sh LICENSE.md README.md /

# move the entry point as proxy command for expo itself
# see: https://github.com/expo/expo-github-action/#automatic-expo-login
RUN mv entrypoint.sh /usr/local/bin/expo

# increase node's default memory limit to 4gb
# see: https://github.com/expo/expo-github-action/#overwriting-node_options
ENV NODE_OPTIONS="--max_old_space_size=4096"

ENTRYPOINT ["/entrypoint.sh"]
ENTRYPOINT ["/usr/local/bin/expo"]

0 comments on commit caf499b

Please sign in to comment.