Spaces:
Running
Running
Delete Dockerfile
#3
by
jjhgff
- opened
- Dockerfile +0 -21
Dockerfile
DELETED
@@ -1,21 +0,0 @@
|
|
1 |
-
FROM ubuntu:22.04
|
2 |
-
|
3 |
-
# Set up a new user named "user" with user ID 1000
|
4 |
-
RUN useradd -m -u 1000 user
|
5 |
-
|
6 |
-
# Switch to the "user" user
|
7 |
-
USER user
|
8 |
-
|
9 |
-
# Set home to the user's home directory
|
10 |
-
ENV HOME=/home/user \
|
11 |
-
PATH=/home/user/.local/bin:$PATH
|
12 |
-
|
13 |
-
# Set the working directory to the user's home directory
|
14 |
-
WORKDIR $HOME/alist
|
15 |
-
|
16 |
-
COPY --chown=user . $HOME/alist
|
17 |
-
|
18 |
-
RUN chmod +x $HOME/alist/alist
|
19 |
-
# CMD ["bash", "alist", "server"]
|
20 |
-
CMD cd $HOME/alist && ./alist server
|
21 |
-
EXPOSE 5244
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|