feature test env 0.0030

This commit is contained in:
2026-02-28 16:28:24 +03:00
parent 09245cbcde
commit 51624c422e
2 changed files with 2 additions and 11 deletions

View File

@@ -11,6 +11,8 @@ jobs:
- name: Create .env file - name: Create .env file
run: | run: |
echo "${{ secrets.WEDDING_SITE_ENV }}" > .env echo "${{ secrets.WEDDING_SITE_ENV }}" > .env
-name: Test ENV
echo "${{ secrets.WEDDING_SITE_ENV }}"
- name: Build image - name: Build image
run: docker build -t back:latest -f docker/dockerfile . run: docker build -t back:latest -f docker/dockerfile .
- name: Start docker-compose - name: Start docker-compose

View File

@@ -1,17 +1,6 @@
FROM python:3.13-slim FROM python:3.13-slim
WORKDIR /home/backend WORKDIR /home/backend
COPY ../ /home/backend COPY ../ /home/backend
RUN apt-get update && apt-get install -y \
curl \
# # gnupg \
# # git \
# # build-essential \
# # libffi-dev \
# # libssl-dev \
# cargo \
# g++ \
&& rm -rf /var/lib/apt/lists/*
RUN python -m pip install --upgrade pip \ RUN python -m pip install --upgrade pip \
&& python -m pip install -r requirements.txt && python -m pip install -r requirements.txt
RUN chmod +x ./docker/start.sh RUN chmod +x ./docker/start.sh