Files
helsinki/Pt12/react-container/hello-front/dev.Dockerfile
T
2024-09-30 15:32:50 +03:00

12 lines
255 B
Docker
Executable File

FROM node:20
WORKDIR /usr/src/app
COPY . .
# Change npm ci to npm install since we are going to be in development mode
RUN npm install
# npm run dev is the command to start the application in development mode
CMD ["npm", "run", "dev", "--", "--host"]