Merge branch 'main' of ssh://gitlab.plocserv.fr:2222/ploc300/portfolio_v2
This commit is contained in:
+6
-5
@@ -2,12 +2,13 @@ FROM node:23.7.0-alpine3.21 as builder
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY package*.json .
|
COPY package*.json ./
|
||||||
RUN npm ci --omit=dev && npm cache clean --force
|
RUN npm ci && npm cache clean --force
|
||||||
|
|
||||||
COPY . .
|
COPY . ./
|
||||||
|
|
||||||
RUN npm run build
|
RUN npm install -g vite
|
||||||
|
RUN npx vite build
|
||||||
|
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
|
|
||||||
@@ -15,4 +16,4 @@ COPY --from=builder /app/dist /usr/share/nginx/html
|
|||||||
|
|
||||||
EXPOSE 3006
|
EXPOSE 3006
|
||||||
|
|
||||||
CMD ["nginx", "-g", "daemon off;"]
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ function Contact() {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"icon": <FaGitlab className="inline text-3xl" />,
|
"icon": <FaGitlab className="inline text-3xl" />,
|
||||||
"name": "Github",
|
"name": "Gitlab",
|
||||||
"link": "https://gitlab.plocserv.fr/ploc300",
|
"link": "https://gitlab.plocserv.fr/ploc300",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user