eienmojiki commited on
Commit
d8295b2
1 Parent(s): e6e826e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -4
Dockerfile CHANGED
@@ -1,15 +1,13 @@
1
  FROM buildpack-deps:22.04-curl
2
 
 
 
3
  ENV DEBIAN_FRONTEND=noninteractive \
4
  TZ=Asia/Ho_Chi_Minh \
5
  PORT=7860 \
6
  HOME=/home/koga \
7
  PATH=/home/koga/.local/bin:$PATH
8
 
9
- RUN useradd -m -u 1000 koga
10
-
11
- RUN chown -R koga: $HOME
12
-
13
  RUN rm -f /etc/apt/sources.list.d/*.list && \
14
  apt-get update && apt-get install -y --no-install-recommends \
15
  ansible \
@@ -79,6 +77,9 @@ RUN rm -fr /tmp/Python-3.10.12 && \
79
  RUN sudo apt update && \
80
  sudo apt install -y python3-venv python3-pip
81
 
 
 
 
82
  USER koga
83
 
84
  RUN git clone https://github.com/kogakisaki/koga-2048.git
 
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 \
8
  HOME=/home/koga \
9
  PATH=/home/koga/.local/bin:$PATH
10
 
 
 
 
 
11
  RUN rm -f /etc/apt/sources.list.d/*.list && \
12
  apt-get update && apt-get install -y --no-install-recommends \
13
  ansible \
 
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