Skip to content

Commit

Permalink
move project files into src folder; refact dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
SivikGosh committed Jan 31, 2024
1 parent 9ce5981 commit 55a3f28
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 33 deletions.
30 changes: 0 additions & 30 deletions Dockerfile

This file was deleted.

4 changes: 1 addition & 3 deletions compose.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
services:
server:
build:
context: .
ports:
- 8000:8000
context: src/
File renamed without changes.
10 changes: 10 additions & 0 deletions src/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM python:3.11.4-slim

WORKDIR /app

COPY . .

RUN pip install --upgrade pip \
pip install -r requirements.txt

CMD python main.py
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 55a3f28

Please sign in to comment.