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

Dockerize #26

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

andriibiloussigma
Copy link
Collaborator

No description provided.

REACT_APP_API_URL: "http://localhost:5000"
container_name: my-frontend
ports:
- "3000:80"
Copy link
Collaborator

Choose a reason for hiding this comment

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

need to change to 80:80 ports

dockerfile: Dockerfile
container_name: my-backend
ports:
- "5000:5000"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Ports on the back end need to be removed. Traffic should be go inside docker-compose network

context: ./client
dockerfile: Dockerfile
args:
REACT_APP_API_URL: "http://localhost:5000"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Duplicated ENV/AGRS?

ports:
- "3000:80"
environment:
- REACT_APP_API_URL=http://localhost:5000
Copy link
Collaborator

Choose a reason for hiding this comment

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

Duplicated ENV/AGRS?

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