This repository has been archived on 2024-01-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
kato.cafe/Dockerfile
Kato Twofold 7306bf607a PDF -> PNG Convertor
* DockerFile Addditions
+ Helper Functions
2022-05-10 02:32:55 +03:00

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" ]