Zlatislav Zlatev
commited on
Commit
·
21a5c84
1
Parent(s):
debb68d
Create Dockerfile
Browse files- Dockerfile +31 -0
Dockerfile
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Dockerfile for a Debian container
|
| 2 |
+
|
| 3 |
+
# Specify the base image
|
| 4 |
+
FROM debian:latest
|
| 5 |
+
|
| 6 |
+
# Maintainer
|
| 7 |
+
LABEL maintainer="Zlatislav <zlatislavzlatev@icloud.com>"
|
| 8 |
+
|
| 9 |
+
# Set environment variables
|
| 10 |
+
ENV DEBIAN_FRONTEND noninteractive
|
| 11 |
+
ENV DEBCONF_NONINTERACTIVE_SEEN true
|
| 12 |
+
|
| 13 |
+
# Install packages
|
| 14 |
+
RUN apt-get update && apt-get install -y \
|
| 15 |
+
apt-utils \
|
| 16 |
+
curl \
|
| 17 |
+
wget \
|
| 18 |
+
vim \
|
| 19 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 20 |
+
|
| 21 |
+
# Set the working directory
|
| 22 |
+
WORKDIR /app
|
| 23 |
+
|
| 24 |
+
# Copy the application files
|
| 25 |
+
COPY . .
|
| 26 |
+
|
| 27 |
+
# Expose port 8080
|
| 28 |
+
EXPOSE 7860
|
| 29 |
+
|
| 30 |
+
# Run the application
|
| 31 |
+
CMD ["/bin/bash", "run.sh"]
|