This repository has been archived by the owner on Aug 31, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix timezone issues, update Dockerfile
- Loading branch information
Danni Moiseyev
committed
May 4, 2020
1 parent
a29e747
commit 1b63dd8
Showing
3 changed files
with
13 additions
and
12 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,16 +1,18 @@ | ||
FROM python:alpine3.9 | ||
FROM python:3-alpine | ||
|
||
|
||
WORKDIR /app/ | ||
|
||
COPY requirements.txt /app/ | ||
RUN apk add --no-cache --virtual build-deps gcc musl-dev libffi-dev \ | ||
&& pip install -r requirements.txt \ | ||
&& apk del build-deps | ||
|
||
RUN apk update && apk add --no-cache --virtual build-deps build-base gcc musl-dev libffi-dev libev-dev | ||
RUN pip install -r requirements.txt | ||
RUN apk del build-deps | ||
|
||
COPY GrafanaDatastoreServer.py /app/ | ||
|
||
EXPOSE 8080 | ||
ENV REDIS_HOST=localhost | ||
ENV REDIS_PORT=6379 | ||
|
||
CMD /app/GrafanaDatastoreServer.py --redis-server $REDIS_HOST --redis-port $REDIS_PORT | ||
CMD /app/GrafanaDatastoreServer.py --redis-server $REDIS_HOST --redis-port $REDIS_PORT |
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