ArgusSite/Dockerfile

49 lines
778 B
Docker
Raw Normal View History

2023-07-03 22:31:18 +00:00
FROM node:18
# Create app directory
WORKDIR /usr/src/app
# Install app dependencies
COPY package*.json ./
RUN npm install
2023-09-07 10:48:38 +00:00
RUN apt-get update && apt-get install -y \
libnss3 \
libatk1.0-0 \
libatk-bridge2.0-0 \
libcups2 \
libxkbcommon-x11-0 \
libXcomposite1 \
libXcursor1 \
libXdamage1 \
libXext6 \
libXfixes3 \
libXi6 \
libXrandr2 \
libXrender1 \
libXtst6 \
libXss1 \
libXt6 \
libxshmfence1 \
libgtk-3-0 \
libasound2 \
libnss3 \
libx11-xcb1 \
libxcb1 \
libxcomposite1 \
libxdamage1 \
libxext6 \
libxi6 \
libxtst6 \
libappindicator1 \
libappindicator3-1 \
libsecret-1-0 \
libgbm1
2023-09-07 09:37:58 +00:00
2023-07-03 22:31:18 +00:00
# Bundle app source
COPY . .
EXPOSE 8081
CMD [ "node", "server.js" ]