diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 00000000..cd54917d --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,12 @@ +version: "3.9" + +services: + frontend: + build: ./frontend + ports: + - "5173:5173" + + backend: + build: ./application + ports: + - "5001:5000" diff --git a/frontend/Dockerfile b/frontend/Dockerfile new file mode 100644 index 00000000..241c186d --- /dev/null +++ b/frontend/Dockerfile @@ -0,0 +1,10 @@ +FROM node:18-alpine3.14 + +WORKDIR /app +COPY package*.json ./ +RUN npm install +COPY . . + +EXPOSE 5173 + +CMD [ "npm", "run", "dev", "--" , "--host"]