-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
40 lines (27 loc) · 1.01 KB
/
Dockerfile
File metadata and controls
40 lines (27 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Use Ubuntu 20.04 as the base image
FROM ubuntu:20.04
# Set the timezone to Asia/Kolkata
ENV TZ=Asia/Kolkata
# Update and upgrade the system
RUN apt-get update -y && apt-get upgrade -y
# Set environment variables for non-interactive installation
ENV DEBIAN_FRONTEND=noninteractive
# Install necessary packages
RUN apt-get install -y curl wget sudo
# Install Node.js using NodeSource
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
RUN apt-get install -y nodejs
# Install necessary packages
RUN apt-get install -y ffmpeg git imagemagick graphicsmagick yarn
# Install global packages: pm2, sqlite, and others as needed
RUN npm install -g pm2 sqlite ajayos/nodelog @octokit/rest buffer
# Create a directory for the AURORA app
WORKDIR /AURORA
# Copy the contents of the AURORA folder to /AURORA in the container
COPY AURORA /AURORA
# Set the working directory to /AURORA
WORKDIR /AURORA
# Copy aurora.sh to /bin folder
COPY aurora.sh /bin/aurora
# Set permissions for aurora.sh
RUN chmod +x /bin/aurora