sandbox/container/lighthouse-ci-server/Dockerfile
Yongmin Hong cdf70a8ee2
container: build and publish containers
Summary:
Cheap docker hub alt :P

Dockerfile from [googlechrome/lighthouse-ci](https://github.com/GoogleChrome/lighthouse-ci/tree/main/docs/recipes/docker-server)

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: Check GitHub Actions runs?

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D132
2024-05-23 16:12:11 +09:00

12 lines
263 B
Docker

FROM node:18-bullseye-slim
# Install utilities
RUN apt-get update --fix-missing && apt-get install -y python build-essential && apt-get clean
WORKDIR /usr/src/lhci
COPY package.json .
COPY lighthouserc.json .
RUN npm install
EXPOSE 9001
CMD [ "npm", "start" ]