3 Commits

Author SHA1 Message Date
mcpanda 020b00d7cd Merge branch 'master' of https://git.mckunda.com/mcpanda/summertime
ci/woodpecker/push/default Pipeline was successful
2023-01-28 18:36:03 +03:00
mcpanda 7fb46b19c7 fix: make startup script executable 2023-01-28 18:35:52 +03:00
semantic-release-bot 4a810aa316 chore(release): 1.0.0 [skip ci]
ci/woodpecker/tag/default Pipeline was successful
# 1.0.0 (2023-01-28)

### Features

* init ([4700686](4700686dbf))
2023-01-28 15:04:45 +00:00
5 changed files with 5 additions and 40 deletions
+3 -3
View File
@@ -1,10 +1,10 @@
FROM python:3.11-alpine FROM python:3.11-alpine
COPY requirements.txt /
RUN pip3 install flask gunicorn RUN pip3 install -r /requirements.txt
RUN chmod +x ./gunicorn.sh
COPY . /app COPY . /app
WORKDIR /app WORKDIR /app
RUN chmod +x gunicorn.sh
ENTRYPOINT ["./gunicorn.sh"] ENTRYPOINT ["./gunicorn.sh"]
-35
View File
@@ -1,38 +1,3 @@
## [1.0.5](https://git.mckunda.com/mcpanda/summertime/compare/v1.0.4...v1.0.5) (2023-01-28)
### Bug Fixes
* fix gunicorn.sh ([74841b9](https://git.mckunda.com/mcpanda/summertime/commit/74841b9ebe6dafb400bde87401c0c6743d0307f7))
## [1.0.4](https://git.mckunda.com/mcpanda/summertime/compare/v1.0.3...v1.0.4) (2023-01-28)
### Bug Fixes
* **docker:** remove copying requirements.txt inside Dockerfile ([ce62961](https://git.mckunda.com/mcpanda/summertime/commit/ce62961bcfdd743b7b4aafa67c2694e6f71db5ba))
## [1.0.3](https://git.mckunda.com/mcpanda/summertime/compare/v1.0.2...v1.0.3) (2023-01-28)
### Bug Fixes
* **pip:** remove requirements.txt ([b7632cf](https://git.mckunda.com/mcpanda/summertime/commit/b7632cf96619d272912905efca6eac3ab1d0271a))
## [1.0.2](https://git.mckunda.com/mcpanda/summertime/compare/v1.0.1...v1.0.2) (2023-01-28)
### Bug Fixes
* **pip:** add gunicorn and ints dependencies ([fdd7007](https://git.mckunda.com/mcpanda/summertime/commit/fdd70074b977dcc49824293f30f111daf6699bd2))
## [1.0.1](https://git.mckunda.com/mcpanda/summertime/compare/v1.0.0...v1.0.1) (2023-01-28)
### Bug Fixes
* make startup script executable ([9dfa5b6](https://git.mckunda.com/mcpanda/summertime/commit/9dfa5b6a177762535270925a11cac009d66a51b9))
# 1.0.0 (2023-01-28) # 1.0.0 (2023-01-28)
+1 -1
View File
@@ -1,2 +1,2 @@
#!/bin/sh #!/bin/sh
gunicorn wsgi:app -w 2 --threads 2 -b 0.0.0.0:80 gunicorn --chdir app wsgi:app -w 2 --threads 2 -b 0.0.0.0:80
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -15,4 +15,4 @@ def getTimeBeforeSummer():
m = str((summer_time.seconds % 3600) // 60) m = str((summer_time.seconds % 3600) // 60)
s = str(summer_time.seconds % 60) s = str(summer_time.seconds % 60)
return 'До лета осталось ' + str(summer_time.days) + ' д ' + h + ' ч ' + m + ' мин ' + s + ' сек' return str(summer_time.days) + ' д ' + h + ' ч ' + m + ' мин ' + s + ' сек'