Files
portfolio/Dockerfile
T
sylvaintr 83560e8086 feat: Add new sections and improve layout
- Added ExperienceSection and SkillsSection components to showcase user experience and skills.
- Updated App component to include new sections in the Home layout.
- Enhanced Projet component with improved styling and functionality, including a video player.
- Integrated new translations in English and French for additional sections.
- Updated navigation bar to include links to new sections.
- Added Dockerfile and nginx configuration for deployment.
- Removed unused video files and optimized existing components for better performance.
- Updated CVSection to correctly reference the CV file path.
- Improved styling across various components for a more cohesive design.
2026-02-24 12:23:27 +01:00

18 lines
366 B
Docker

FROM node:18-alpine AS build
WORKDIR /app
ENV NODE_ENV=production
# Install dependencies
COPY package*.json ./
RUN npm ci --silent
# Copy source and build
COPY . .
RUN npm run build
FROM nginx:stable-alpine AS production
COPY --from=build /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]