Revert "simplified the dockerfile"

This reverts commit 78111f010b.
This commit is contained in:
daniel31x13 2024-07-13 18:13:32 -04:00
parent 78111f010b
commit 6d30912812
2 changed files with 18 additions and 14 deletions

View File

@ -5,7 +5,3 @@ pgdata
docker-compose.yml docker-compose.yml
Dockerfile Dockerfile
README.md README.md
•git
•github
•gitignore
dist/**

View File

@ -10,19 +10,27 @@ COPY ./package.json ./yarn.lock ./playwright.config.ts ./
RUN --mount=type=cache,sharing=locked,target=/usr/local/share/.cache/yarn yarn install --network-timeout 10000000 RUN --mount=type=cache,sharing=locked,target=/usr/local/share/.cache/yarn yarn install --network-timeout 10000000
RUN apt-get update && \ RUN apt-get update
apt-get install -y \
RUN apt-get install -y \
build-essential \ build-essential \
curl \ curl \
libssl-dev \ libssl-dev \
pkg-config && \ pkg-config
curl https://sh.rustup.rs -sSf | bash -s -- -y && \
PATH="/root/.cargo/bin:${PATH}" && \ RUN apt-get update
cargo install monolith && \
npx playwright install-deps && \ RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
RUN cargo install monolith
RUN npx playwright install-deps && \
apt-get clean && \ apt-get clean && \
yarn cache clean && \ yarn cache clean
yarn playwright install
RUN yarn playwright install
COPY . . COPY . .