This repository has been archived on 2024-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
kato.cafe/Dockerfile

22 lines
379 B
Docker
Raw Normal View History

2022-05-10 00:18:52 +03:00
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" ]