-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
45 lines (38 loc) · 783 Bytes
/
Dockerfile
File metadata and controls
45 lines (38 loc) · 783 Bytes
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
40
41
42
43
44
45
FROM rockylinux:9
# Update and install required packages
RUN dnf -y update && \
dnf -y install epel-release && \
dnf -y install --allowerasing \
bzip2 \
sudo \
curl \
net-tools \
openssh-server \
nano \
vim-enhanced \
less \
openssl-devel \
wget \
git \
gnupg2 \
libnsl \
perl && \
dnf clean all
# Install Node.js
RUN curl -fsSL https://rpm.nodesource.com/setup_24.x | bash -
RUN dnf install nodejs -y
RUN dnf clean all
# Verify Node.js and npm versions
RUN node --version
RUN npm --version
# Install underpost ci/cd cli
RUN npm install -g underpost
RUN underpost --version
# Create working directory
WORKDIR /home/dd
# Expose necessary ports
EXPOSE 22
EXPOSE 80
EXPOSE 443
EXPOSE 3000-3100
EXPOSE 4000-4100