simplified the dockerfile
This commit is contained in:
parent
0185ec57c7
commit
78111f010b
|
@ -5,3 +5,7 @@ pgdata
|
||||||
docker-compose.yml
|
docker-compose.yml
|
||||||
Dockerfile
|
Dockerfile
|
||||||
README.md
|
README.md
|
||||||
|
•git
|
||||||
|
•github
|
||||||
|
•gitignore
|
||||||
|
dist/**
|
26
Dockerfile
26
Dockerfile
|
@ -10,27 +10,19 @@ 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 && \
|
||||||
RUN apt-get update
|
PATH="/root/.cargo/bin:${PATH}" && \
|
||||||
|
cargo install monolith && \
|
||||||
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
|
npx playwright install-deps && \
|
||||||
|
|
||||||
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 . .
|
||||||
|
|
||||||
|
|
Ŝarĝante…
Reference in New Issue