mirror of
https://github.com/lwthiker/curl-impersonate.git
synced 2025-08-10 10:49:26 +00:00
Merge branch 'main' into test_http_headers
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
ARG FIREFOX_IMAGE=curl-impersonate-ff
|
||||
ARG CHROME_IMAGE=curl-impersonate-chrome
|
||||
|
||||
FROM ${FIREFOX_IMAGE} as ff
|
||||
FROM ${CHROME_IMAGE} as chrome
|
||||
|
||||
FROM python:3.10.1-slim-buster
|
||||
|
||||
WORKDIR /tests
|
||||
@@ -13,8 +19,8 @@ RUN pip install --upgrade pip && \
|
||||
RUN mkdir /tests/firefox /tests/chrome
|
||||
|
||||
# Copy the built binaries from both containers
|
||||
COPY --from=curl-impersonate-ff /build/out/* /tests/firefox/
|
||||
COPY --from=curl-impersonate-chrome /build/out/* /tests/chrome/
|
||||
COPY --from=ff /build/out/* /tests/firefox/
|
||||
COPY --from=chrome /build/out/* /tests/chrome/
|
||||
|
||||
COPY . .
|
||||
|
||||
|
Reference in New Issue
Block a user