feat(CI): Adding CI deployment script
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user