mirror of
https://github.com/morbalint/kemkas.git
synced 2026-07-17 19:03:46 +00:00
d04e7e6cef
* add basic e2e tests * add e2e to ci * fix docker pull * fix images in ci * maybe this will help * push latest on main for e2e * fix e2e on main * rename jobs
19 lines
441 B
Docker
19 lines
441 B
Docker
FROM mcr.microsoft.com/playwright:v1.59.1-noble
|
|
|
|
LABEL org.opencontainers.image.source = "https://github.com/morbalint/kemkas"
|
|
|
|
WORKDIR /work
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends libnss3-tools \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY package.json yarn.lock ./
|
|
RUN yarn install --frozen-lockfile
|
|
|
|
COPY . .
|
|
RUN chmod +x /work/docker-entrypoint.sh
|
|
|
|
ENTRYPOINT ["/work/docker-entrypoint.sh"]
|
|
CMD ["yarn", "test"]
|