Skip to content

Commit

Permalink
New docker images, index.html updated, deps update
Browse files Browse the repository at this point in the history
  • Loading branch information
xfenix committed Dec 17, 2023
1 parent ed71642 commit ab1bf50
Show file tree
Hide file tree
Showing 7 changed files with 1,216 additions and 1,060 deletions.
4 changes: 2 additions & 2 deletions back/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.8.0-alpine as builder
FROM node:20.10.0-alpine as builder
# possibly for future usage
# RUN apt-get update -y
# RUN apt-get install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
Expand All @@ -7,7 +7,7 @@ COPY . .
RUN npm i
RUN npm run build-prod

FROM node:20.8.0-alpine
FROM node:20.10.0-alpine
WORKDIR /srv/www
COPY --chown=node:node --from=builder /srv/www/build/ ./
RUN npm i --omit=dev
Expand Down
47 changes: 26 additions & 21 deletions back/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions back/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
"license": "ISC",
"dependencies": {
"@octokit/rest": "^20.0.2",
"fastify": "^4.24.3",
"lru-cache": "^10.0.1",
"fastify": "^4.25.1",
"lru-cache": "^10.1.0",
"node-cache": "^5.1.2"
},
"devDependencies": {
"@types/node": "^20.8.9",
"typescript": "^5.2.2"
"@types/node": "^20.10.4",
"typescript": "^5.3.3"
}
}
4 changes: 2 additions & 2 deletions front/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM node:20.8.0 as builder
FROM node:20.10.0 as builder
WORKDIR /tmp/
RUN mkdir -p /tmp/src/build/.well-known/
COPY . .
RUN npm i
RUN npx gulp build


FROM nginx:1.25.2-alpine as runtime
FROM nginx:1.25.3-alpine as runtime
ENV WORKDIR=/srv/www
WORKDIR $WORKDIR
COPY nginx.conf /etc/nginx
Expand Down
Loading

0 comments on commit ab1bf50

Please sign in to comment.