docker-compose added

This commit is contained in:
Jacob Delgado 2023-10-10 02:10:21 -07:00
parent 123c1516f7
commit b9559e7786
56 changed files with 36 additions and 2 deletions

13
Websites/Jefes/Dockerfile Normal file
View 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"]

View File

Before

Width:  |  Height:  |  Size: 516 KiB

After

Width:  |  Height:  |  Size: 516 KiB

View File

Before

Width:  |  Height:  |  Size: 203 KiB

After

Width:  |  Height:  |  Size: 203 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@ -112,6 +112,9 @@
.navbar_small_screen{
display: flex;
}
.p_opensans_table{
display: none;
}
}
/* computer */
@media screen and (max-width: 2000px){

View File

@ -21,8 +21,8 @@ const Navbar = () => {
</ul>
<div className="navbar_login">
<a href="#login" className='p_opensans'>Log In / Register</a>
<div></div>
<a href="/" className='p_opensans'>Book Table</a>
<div className='p_opensans_table'></div>
<a href="/" className='p_opensans_table'>Book Table</a>
</div>
<div className="navbar_small_screen">
<GiHamburgerMenu color="#fff" fontSize={27} onClick={() => set_toggle_menu(true)}/>

View 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