remove initial dockerfile for react-client
This commit is contained in:
@ -1,14 +0,0 @@
|
|||||||
# DEV Dockerfile
|
|
||||||
|
|
||||||
FROM node:19.4-alpine
|
|
||||||
|
|
||||||
WORKDIR /usr/src/app
|
|
||||||
|
|
||||||
COPY package*.json ./
|
|
||||||
|
|
||||||
RUN npm install
|
|
||||||
|
|
||||||
COPY . .
|
|
||||||
EXPOSE 5173
|
|
||||||
|
|
||||||
CMD ["npm", "run", "dev"]
|
|
||||||
@ -2,7 +2,7 @@ services:
|
|||||||
client-react:
|
client-react:
|
||||||
build:
|
build:
|
||||||
context: ../05-example-web-application/client-react/
|
context: ../05-example-web-application/client-react/
|
||||||
dockerfile: ../../06-building-container-images/client-react/Dockerfile
|
dockerfile: ../../06-building-container-images/client-react/Dockerfile.2
|
||||||
ports:
|
ports:
|
||||||
- 5173:5173
|
- 5173:5173
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user