Skip to content
Snippets Groups Projects
Dockerfile.dev 412 B
FROM node:16-slim

ENV DEBIAN_FRONTEND=noninteractive

# Yarn
RUN yarn global add @angular/cli
RUN ng config -g cli.packageManager yarn
RUN ng config -g cli.warnings.versionMismatch false

# Chromium
RUN apt-get update \
    && apt-get install -y --no-install-recommends chromium
ENV CHROME_BIN=chromium

# Firefox
RUN apt-get update \
    && apt-get install -y --no-install-recommends firefox-esr

CMD ["bash"]