mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-26 10:43:35 +02:00
Merge ccbbdf197a
into 18f59bdb09
This commit is contained in:
commit
3f58e90291
3 changed files with 15796 additions and 50 deletions
11
react-nginx/compose-dev.yaml
Executable file
11
react-nginx/compose-dev.yaml
Executable file
|
@ -0,0 +1,11 @@
|
|||
services:
|
||||
frontend:
|
||||
build:
|
||||
context: .
|
||||
target: dev-envs
|
||||
container_name: frontend
|
||||
ports:
|
||||
- "80:3000"
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
15822
react-nginx/package-lock.json
generated
15822
react-nginx/package-lock.json
generated
File diff suppressed because it is too large
Load diff
13
react-nginx/src/App.js
vendored
13
react-nginx/src/App.js
vendored
|
@ -5,18 +5,7 @@ function App() {
|
|||
return (
|
||||
<div className="App">
|
||||
<header className="App-header">
|
||||
<img src={logo} className="App-logo" alt="logo" />
|
||||
<p>
|
||||
Edit <code>src/App.js</code> and save to reload.
|
||||
</p>
|
||||
<a
|
||||
className="App-link"
|
||||
href="https://reactjs.org"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
Learn React
|
||||
</a>
|
||||
|
||||
</header>
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue