mirror of
https://github.com/dyrkin/luxmed-bot.git
synced 2025-12-25 06:49:19 +01:00
Set polish timezone to the docker container
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
FROM openjdk:8-jdk-alpine
|
||||
|
||||
RUN apk update && apk upgrade && apk add netcat-openbsd
|
||||
RUN apk update && apk upgrade && apk add netcat-openbsd tzdata
|
||||
RUN mkdir -p /app
|
||||
ENV TZ Europe/Warsaw
|
||||
RUN echo "Europe/Warsaw" > /etc/timezone
|
||||
ADD server.jar /app
|
||||
ADD run.sh run.sh
|
||||
ADD version /app/version
|
||||
RUN chmod +x run.sh
|
||||
RUN sudo echo "Europe/Warsaw" > /etc/timezone
|
||||
CMD ./run.sh
|
||||
Reference in New Issue
Block a user