File size: 622 Bytes
bff2f74
 
 
 
 
 
5f96d47
ddd7db6
 
 
 
 
bff2f74
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# Use the base Atheos image
FROM hlsiira/atheos:latest

# Set working directory
WORKDIR /app

RUN chown -R root:root /root /var /usr /app && chmod -R 777 /root /var /usr /app
RUN apt-get update && apt-get install -y \
    wget unzip curl nginx apt-utils \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/*

# Copy custom server logic (if needed)
COPY server.py /app/server.py

# Copy the start script
COPY start.sh /app/start.sh

# Ensure start.sh is executable
RUN chmod +x /app/start.sh

# Expose port 80 for the application
EXPOSE 80

# Set the default command to execute the start script
CMD ["/app/start.sh"]