Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -5,8 +5,8 @@ FROM ubuntu:latest
|
|
| 5 |
RUN apt -y update && \
|
| 6 |
apt -y install curl unzip nodejs npm
|
| 7 |
|
| 8 |
-
#
|
| 9 |
-
|
| 10 |
|
| 11 |
# 复制本地的js文件到容器中
|
| 12 |
COPY main.js ./
|
|
|
|
| 5 |
RUN apt -y update && \
|
| 6 |
apt -y install curl unzip nodejs npm
|
| 7 |
|
| 8 |
+
# 创建项目目录并进入
|
| 9 |
+
WORKDIR /app
|
| 10 |
|
| 11 |
# 复制本地的js文件到容器中
|
| 12 |
COPY main.js ./
|