Skip to content

Commit

Permalink
Merge pull request #13 from kronostechnologies/fix/DOPS-4084-fix-mysq…
Browse files Browse the repository at this point in the history
…ldump-version

DOPS-4084: tentative de fix de mysqldump export
  • Loading branch information
Chahdro authored Dec 19, 2023
2 parents 43ab8fa + 0b4ec0e commit 794ae3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ WORKDIR /code
COPY ["package.json", ".yarnclean", "yarn.lock", "/code/"]
RUN yarn install && yarn autoclean --force && yarn cache clean

FROM node:18-slim
FROM node:20-alpine

COPY --from=builder /code /code
WORKDIR /code
COPY [".env", "mysql2s3.js", "README.md", "LICENSE", "/code/"]

RUN apt update && apt install -y mariadb-client --no-install-recommends --no-install-suggests && apt clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
RUN apk add mariadb-client && rm -f /var/cache/apk/*

USER 1000
CMD node --expose-gc ./mysql2s3.js

0 comments on commit 794ae3a

Please sign in to comment.