Skip to content

Commit

Permalink
[Docker] Adding dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolay Ryzhov committed May 8, 2024
1 parent faf668b commit 4b1a9b9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM ubuntu:latest

RUN apt-get update && apt-get install -y \
build-essential \
cmake \
libpq-dev \
libasio-dev \
libhiredis-dev

COPY CMakeLists.txt /home/
ADD src /home/src
ADD third-party /home/third-party

WORKDIR /home/

RUN cmake -B build && cmake --build build && ./filmslibrary
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
---

## Стек
Redis, PostgreSQL, Crow++, json_nlohmamn.
Redis, Docker, PostgreSQL, Crow++, json_nlohmamn.

---

Expand Down

0 comments on commit 4b1a9b9

Please sign in to comment.