22 lines
379 B
Docker
22 lines
379 B
Docker
FROM node:18-buster
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
# Create app directory
|
|
WORKDIR /app
|
|
|
|
# Bundle app source
|
|
COPY . .
|
|
|
|
# Install Requirements and build the app
|
|
RUN npm install && npm run build;
|
|
|
|
|
|
# Install required dependencies
|
|
RUN apt update && apt install -y \
|
|
poppler-utils poppler-data \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
EXPOSE 5386
|
|
CMD [ "npm", "run", "start" ]
|