first commit from PC
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
FROM ghcr.io/esphome/esphome
|
||||
|
||||
RUN groupadd -r esphome && useradd -m -s /bin/bash -d /home/esphome -g esphome esphome
|
||||
RUN chsh -s /usr/sbin/nologin root
|
||||
|
||||
RUN chown -R esphome:esphome /home/esphome
|
||||
RUN chown -R esphome:esphome /config
|
||||
RUN chown -R esphome:esphome /piolibs
|
||||
|
||||
#ENV PATH "${PATH}:/opt/doods"
|
||||
|
||||
ENV HOME /home/esphome
|
||||
|
||||
USER esphome
|
||||
|
||||
# ENTRYPOINT ["python3", "main.py"]
|
||||
# CMD ["api"]
|
||||
Reference in New Issue
Block a user