dataset / Dockerfile
testdeep123's picture
Update Dockerfile
b465bd2 verified
raw
history blame contribute delete
805 Bytes
FROM debian:stable
ENV DEBIAN_FRONTEND=noninteractive
# Install dependencies
RUN apt-get update && \
apt-get install -y wget gnupg git git-lfs && \
rm -rf /var/lib/apt/lists/*
# Add Amazon Corretto GPG key and repository
RUN wget -O- https://apt.corretto.aws/corretto.key | gpg --dearmor > /usr/share/keyrings/corretto-archive-keyring.gpg && \
echo "deb [signed-by=/usr/share/keyrings/corretto-archive-keyring.gpg] https://apt.corretto.aws stable main" > /etc/apt/sources.list.d/corretto.list
# Install OpenJDK 21
RUN apt-get update && \
apt-get install -y java-21-amazon-corretto-jdk && \
rm -rf /var/lib/apt/lists/*
# Set working directory
WORKDIR /app
# Copy application files
COPY . /app
# Set permissions
RUN chmod -R 777 /app
# Set default command
CMD ["sh", "start.sh"]