Spaces:
Running
Running
eienmojiki
commited on
Commit
•
5be84f9
1
Parent(s):
d8295b2
Update Dockerfile
Browse files- Dockerfile +0 -7
Dockerfile
CHANGED
@@ -1,7 +1,5 @@
|
|
1 |
FROM buildpack-deps:22.04-curl
|
2 |
|
3 |
-
RUN useradd -m -u 1000 koga
|
4 |
-
|
5 |
ENV DEBIAN_FRONTEND=noninteractive \
|
6 |
TZ=Asia/Ho_Chi_Minh \
|
7 |
PORT=7860 \
|
@@ -77,11 +75,6 @@ RUN rm -fr /tmp/Python-3.10.12 && \
|
|
77 |
RUN sudo apt update && \
|
78 |
sudo apt install -y python3-venv python3-pip
|
79 |
|
80 |
-
RUN chmod 777 /home && \
|
81 |
-
chown -R koga: $HOME
|
82 |
-
|
83 |
-
USER koga
|
84 |
-
|
85 |
RUN git clone https://github.com/kogakisaki/koga-2048.git
|
86 |
|
87 |
WORKDIR $HOME/koga-2048
|
|
|
1 |
FROM buildpack-deps:22.04-curl
|
2 |
|
|
|
|
|
3 |
ENV DEBIAN_FRONTEND=noninteractive \
|
4 |
TZ=Asia/Ho_Chi_Minh \
|
5 |
PORT=7860 \
|
|
|
75 |
RUN sudo apt update && \
|
76 |
sudo apt install -y python3-venv python3-pip
|
77 |
|
|
|
|
|
|
|
|
|
|
|
78 |
RUN git clone https://github.com/kogakisaki/koga-2048.git
|
79 |
|
80 |
WORKDIR $HOME/koga-2048
|