Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/create docker image #337

Merged
merged 2 commits into from
Feb 28, 2024
Merged

Feature/create docker image #337

merged 2 commits into from
Feb 28, 2024

Conversation

goncer
Copy link
Member

@goncer goncer commented Oct 31, 2023

No description provided.

@goncer goncer requested a review from MariuszSzpyt October 31, 2023 08:50
### how to build ##
#### cd ~/projects/microapps ; docker build -f /home/goncer/projects/mangata-e2e/devops/dockerfiles/feTests/Dockerfile .
## how to run
#### docker run -it --network=host --entrypoint=/bin/bash ca7dfc5ecc66 -c "yarn nx serve dex & sleep 10000000000" ####
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MariuszSzpyt plz take a look and share w. me your thoughts.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, for now however it wont run microapps as its not getting it from anywhere (as the api key part is provided).

# WORKDIR /
# RUN if test -z ${GITHUB_TOKEN} ; then git config --global url."https://${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/" ; git clone -b ${FE_BRANCH} https://github.com/mangata-finance/microapps.git ; fi

ADD . /microapps/
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, is copying it from the folder you are running the docker build

@goncer goncer marked this pull request as ready for review February 28, 2024 08:56
@goncer goncer merged commit 036a209 into main Feb 28, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants