Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
|
@@ -2,9 +2,7 @@ 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 rm -f /etc/apt/sources.list.d/*.list && \
|
| 10 |
apt-get update && apt-get install -y --no-install-recommends \
|
|
@@ -75,9 +73,11 @@ RUN rm -fr /tmp/Python-3.10.12 && \
|
|
| 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
|
| 81 |
|
| 82 |
RUN npm install
|
| 83 |
|
|
|
|
| 2 |
|
| 3 |
ENV DEBIAN_FRONTEND=noninteractive \
|
| 4 |
TZ=Asia/Ho_Chi_Minh \
|
| 5 |
+
PORT=7860
|
|
|
|
|
|
|
| 6 |
|
| 7 |
RUN rm -f /etc/apt/sources.list.d/*.list && \
|
| 8 |
apt-get update && apt-get install -y --no-install-recommends \
|
|
|
|
| 73 |
RUN sudo apt update && \
|
| 74 |
sudo apt install -y python3-venv python3-pip
|
| 75 |
|
| 76 |
+
WORKDIR /home
|
| 77 |
+
|
| 78 |
RUN git clone https://github.com/kogakisaki/koga-2048.git
|
| 79 |
|
| 80 |
+
WORKDIR /home/koga-2048
|
| 81 |
|
| 82 |
RUN npm install
|
| 83 |
|