- Updated .gitignore to include additional environment and build files - Configured Dockerfiles for backend and frontend with npm install and port exposure - Added MySQL connection pool and query function in backend services - Implemented form submission with toast notifications in MainForm component - Updated package.json and package-lock.json for new dependencies - Enhanced routing and layout in frontend with toast notifications
12 lines
121 B
Docker
12 lines
121 B
Docker
FROM node:20-alpine
|
|
|
|
WORKDIR /backend
|
|
|
|
COPY package*.json ./
|
|
RUN npm install
|
|
|
|
COPY . .
|
|
|
|
EXPOSE 8002
|
|
|
|
CMD ["npm", "start"] |