-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
22 lines (16 loc) · 1.12 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM nginx:1.27.2-bookworm
# ---------------------------------------------------------------------------- #
# Metadata #
# ---------------------------------------------------------------------------- #
LABEL org.opencontainers.image.description="Gateway for the Lectorium project"
LABEL org.opencontainers.image.source="https://github.com/akdasa-studios/lectorium"
# ---------------------------------------------------------------------------- #
# Build #
# ---------------------------------------------------------------------------- #
RUN apt update && apt install -y libjwt-dev libjansson-dev
WORKDIR /akd-studios/lectorium/services/gateway
COPY . .
# ---------------------------------------------------------------------------- #
# Run #
# ---------------------------------------------------------------------------- #
CMD ["nginx", "-c", "/akd-studios/lectorium/services/gateway/envs/dev/_root.conf", "-g", "daemon off;"]