Initial commit

This commit is contained in:
2023-10-05 11:29:24 -06:00
commit 55f1c6e091
15 changed files with 370 additions and 0 deletions

21
Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
# Use an official Python runtime as a parent image
FROM node:14-alpine
# Set the working directory to /app
WORKDIR /app
# Copy the current directory contents into the container at /app
COPY sections /app/sections
COPY lib /app/lib
COPY config /app/config
COPY index.js /app
COPY package.json /app
COPY dotenv /app/.env
RUN npm install 2>/dev/null
EXPOSE 8080
ENV ROOT_PATH="/app"
ENTRYPOINT npm start