docker-compose added
13
Websites/Jefes/Dockerfile
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
FROM node:17-alpine
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
COPY package.json .
|
||||||
|
|
||||||
|
RUN bun install
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
EXPOSE 3000
|
||||||
|
|
||||||
|
CMD["bun", "run", "dev", "--host"]
|
||||||
|
Before Width: | Height: | Size: 516 KiB After Width: | Height: | Size: 516 KiB |
|
Before Width: | Height: | Size: 203 KiB After Width: | Height: | Size: 203 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
@ -112,6 +112,9 @@
|
|||||||
.navbar_small_screen{
|
.navbar_small_screen{
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
.p_opensans_table{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
/* computer */
|
/* computer */
|
||||||
@media screen and (max-width: 2000px){
|
@media screen and (max-width: 2000px){
|
||||||
@ -21,8 +21,8 @@ const Navbar = () => {
|
|||||||
</ul>
|
</ul>
|
||||||
<div className="navbar_login">
|
<div className="navbar_login">
|
||||||
<a href="#login" className='p_opensans'>Log In / Register</a>
|
<a href="#login" className='p_opensans'>Log In / Register</a>
|
||||||
<div></div>
|
<div className='p_opensans_table'></div>
|
||||||
<a href="/" className='p_opensans'>Book Table</a>
|
<a href="/" className='p_opensans_table'>Book Table</a>
|
||||||
</div>
|
</div>
|
||||||
<div className="navbar_small_screen">
|
<div className="navbar_small_screen">
|
||||||
<GiHamburgerMenu color="#fff" fontSize={27} onClick={() => set_toggle_menu(true)}/>
|
<GiHamburgerMenu color="#fff" fontSize={27} onClick={() => set_toggle_menu(true)}/>
|
||||||
18
Websites/Jefes/docker-compose.yaml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
version: "3.8"
|
||||||
|
services:
|
||||||
|
api:
|
||||||
|
build: ./api
|
||||||
|
container_name: api_c
|
||||||
|
ports:
|
||||||
|
- '4000:4000'
|
||||||
|
volumes:
|
||||||
|
- ./api:/app
|
||||||
|
- ./app/node_modules
|
||||||
|
frontend:
|
||||||
|
build: ./Jefes
|
||||||
|
container_name: jefes_c
|
||||||
|
ports:
|
||||||
|
- '5000:3000' # {machine_port}: {container_port}
|
||||||
|
volumes:
|
||||||
|
- ./jefes:/app
|
||||||
|
- ./app/node_modules
|
||||||