This repository has been archived by the owner on Feb 16, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #325 from DewGew/beta
Merge Beta
- Loading branch information
Showing
3 changed files
with
7 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
# Dockerfile for Domoticz-Google-Assistant | ||
|
||
# Install minimal Python 3. | ||
FROM jfloff/alpine-python:3.7-slim | ||
FROM python:3-alpine | ||
|
||
RUN mkdir -p config | ||
|
||
COPY *.py / | ||
COPY templates/ /templates/ | ||
COPY static/ /static/ | ||
COPY requirements/pip-requirements.txt /requirements.txt | ||
RUN pip install --no-cache-dir -r /requirements.txt | ||
|
||
# Create volume | ||
VOLUME /config | ||
|
||
# Configure Services and Port | ||
CMD ["python3 /__main__.py"] | ||
CMD ["python3", "/__main__.py"] | ||
|
||
EXPOSE 3030 |
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