mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-03 16:32:15 +02:00
13 lines
No EOL
415 B
Docker
13 lines
No EOL
415 B
Docker
FROM docker.io/cimg/node:current-browsers
|
|
WORKDIR /app
|
|
|
|
# Install gosu to run command as a specific user, circleci. Clean up lists.
|
|
USER root
|
|
RUN apt-get update && \
|
|
apt-get install -y gosu && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
# Install app dependencies
|
|
# A wildcard is used to ensure both package.json AND package-lock.json are copied
|
|
# where available (npm@5+)
|
|
COPY --chown=circleci:circleci package*.json ./ |