GitLab CI
-
CI/CD (1) Test(FastAPI/Gitlab)이것저것 2024. 2. 13. 15:37
프로잭트 생성 / 예제 코드 적용 Dockerfile 구성 FROM python:3.9-slim # Set environment variables ENV PYTHONDONTWRITEBYTECODE 1 ENV PYTHONUNBUFFERED 1 # Set the working directory in the container WORKDIR /app # Copy the current directory contents into the container at /app COPY . /app # Install any needed packages specified in requirements.txt RUN pip install --no-cache-dir -r requirements.txt # Make port 80 av..