ath / Dockerfile
remainsalways's picture
Update Dockerfile
5f96d47 verified
raw
history blame contribute delete
622 Bytes
# 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"]