feat(CI): Adding CI deployment script

This commit is contained in:
2023-10-05 22:37:22 -06:00
parent 83e037c298
commit 45624eb722
5 changed files with 79 additions and 7 deletions

View File

@@ -1,20 +1,20 @@
# Use an official Python runtime as a parent image
FROM node:14-alpine
FROM node:18-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 lib /app/lib
COPY sections /app/sections
COPY index.js /app
COPY package.json /app
COPY dotenv /app/.env
RUN npm install 2>/dev/null
RUN npm install --include=dev
EXPOSE 8080
EXPOSE 3000
ENV ROOT_PATH="/app"