-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
20 lines (17 loc) · 709 Bytes
/
Copy pathDockerfile
File metadata and controls
20 lines (17 loc) · 709 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM mcr.microsoft.com/playwright:v1.53.0-noble
# Install and configure locales
RUN apt-get update && apt-get install -y locales && \
sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
dpkg-reconfigure --frontend=noninteractive locales && \
update-locale LANG=en_US.UTF-8
ENV LANG=en_US.UTF-8
ENV LC_ALL=en_US.UTF-8
WORKDIR /app
COPY package-lock.json .
COPY package.json .
WORKDIR /app/packages/openbridge-webcomponents
COPY packages/openbridge-webcomponents/package.json .
COPY packages/openbridge-webcomponents/*.tgz .
RUN npm install --ci
COPY packages/openbridge-webcomponents .
CMD ["npm", "run", "test-storybook", "--", "--url", "http://host.docker.internal:6006"]