Compare commits

..

2 Commits

Author SHA1 Message Date
8031ed1892 Added axios to package.json dependencies. 2024-05-31 01:44:08 -04:00
2f1ac35721 Add Dockerfile for frontend. 2024-05-31 01:32:31 -04:00
2 changed files with 9 additions and 0 deletions

8
frontend/Dockerfile Normal file
View File

@ -0,0 +1,8 @@
# frontend/Dockerfile
FROM node:20-alpine
WORKDIR /app
COPY package.json ./
RUN npm install
COPY . .
EXPOSE 3000
CMD ["npm", "start"]

View File

@ -6,6 +6,7 @@
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"axios": "^1.7.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-scripts": "5.0.1",