fixed a docker issue updated the README

This commit is contained in:
QkoSad
2024-09-30 21:26:58 +03:00
parent da43bec842
commit 27c1741bc0
15 changed files with 76 additions and 139 deletions
-2
View File
@@ -1,5 +1,3 @@
# The first FROM is now a stage called build-stage
FROM node:20 AS build-stage
WORKDIR /usr/src/app
-11
View File
@@ -1,11 +0,0 @@
services:
app:
image: devcon-frontend-dev
build:
context: . # The context will pick this directory as the "build context"
dockerfile: dev.Dockerfile # This will simply tell which dockerfile to read
volumes:
- ./:/usr/src/app # The path can be relative, so ./ is enough to say "the same location as the docker-compose.yml"
ports:
- 5173:3000
container_name: devcon-front-dev
-11
View File
@@ -1,11 +0,0 @@
services:
app:
image: todo-front-dev
build:
context: . # The context will pick this directory as the "build context"
dockerfile: dev.Dockerfile # This will simply tell which dockerfile to read
volumes:
- ./:/usr/src/app # The path can be relative, so ./ is enough to say "the same location as the docker-compose.yml"
ports:
- 5173:5173
container_name: todo-front