1 Star 0 Fork 0

simonliu009/tasmocompiler

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 802 Bytes
一键复制 编辑 原始数据 按行查看 历史
Piotr Antczak 提交于 2024-11-17 03:18 +08:00 . chore: update base image
FROM node:16-bookworm-slim
LABEL maintainer="Piotr Antczak <antczak.piotr@gmail.com>"
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y python3 git python3-setuptools && \
DEBIAN_FRONTEND=noninteractive apt-get install -y python3-pip && pip3 install --break-system-packages platformio && \
DEBIAN_FRONTEND=noninteractive apt-get clean && \
npm install -g nodemon && \
cd /tmp && git clone https://github.com/arendst/Tasmota.git && \
rm -rf /var/lib/apt/lists/*
ADD public /tasmocompiler/public/
ADD server /tasmocompiler/server/
ADD src /tasmocompiler/src/
ADD package.json package-lock.json /tasmocompiler/
RUN cd /tasmocompiler && npm ci && npm run build
ENV LC_ALL=C.UTF-8 LANG=C.UTF-8
WORKDIR /tasmocompiler
ENTRYPOINT ["nodemon", "server/app.js"]
EXPOSE 3000/tcp
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/simonliu009/tasmocompiler.git
git@gitee.com:simonliu009/tasmocompiler.git
simonliu009
tasmocompiler
tasmocompiler
master

搜索帮助