17 lines
276 B
Docker
17 lines
276 B
Docker
FROM node:18
|
|
# Create app directory
|
|
WORKDIR /usr/src/app
|
|
|
|
# Install app dependencies
|
|
COPY package*.json ./
|
|
|
|
RUN npm install
|
|
|
|
RUN apt-get update && apt-get install -y libnss3 libatk1.0-0 libatk-bridge2.0-0
|
|
|
|
# Bundle app source
|
|
COPY . .
|
|
|
|
EXPOSE 8081
|
|
CMD [ "node", "server.js" ]
|