1
Fork 0
This commit is contained in:
Korbs 2024-04-14 23:56:13 -04:00
commit 23277af203
No known key found for this signature in database
109 changed files with 7171 additions and 0 deletions

32
Dockerfile Normal file
View file

@ -0,0 +1,32 @@
# Base
FROM debian:12-slim
# Set Work Directory
WORKDIR /minpluto
COPY . /minpluto
# Expose Ports
EXPOSE 1930
# Install Requirements
RUN apt-get update && apt-get -y install \
libcurl4-openssl-dev make g++ ca-certificates curl gnupg
# Install NodeJS v18
RUN mkdir -p /etc/apt/keyrings
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
RUN apt-get update
RUN apt-get -y install nodejs npm
# Disable Astro Telemtry
RUN npx astro telemetry disable
# Install Packages
RUN npm i
RUN npm run translate
# Run
CMD npm start --host