-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
suishui
committed
Oct 5, 2024
1 parent
919c82c
commit 9367edc
Showing
2 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# 使用官方的 Node.js 镜像作为基础镜像 | ||
FROM archlinux:latest | ||
|
||
# 设置工作目录 | ||
WORKDIR /workspace | ||
|
||
# 将当前目录下的文件复制到工作目录中 | ||
# COPY .. | ||
|
||
# 安装应用程序的依赖 | ||
# | ||
RUN pacman -Syu --noconfirm --noprogressbar && \ | ||
pacman -Sy --noconfirm --noprogressbar xmlto docbook-xsl inetutils uboot-tools dtc aarch64-linux-gnu-gcc just | ||
|
||
# 暴露应用程序的端口 | ||
# EXPOSE 3000 | ||
|
||
# 定义容器启动时运行的命令 | ||
# CMD ["node", "app.js"] |