Skip to content

Commit

Permalink
Starter Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jddicki2 authored Aug 12, 2024
1 parent 5224222 commit 9bff423
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM debian:bookworm-slim

WORKDIR /opt/flair

# Create necessary directories
RUN mkdir -p /opt/flair && mkdir -p /var/log/flair

# Copy over required files
COPY . /opt/flair

RUN groupadd -g 7777 flair && \
useradd -c "Flair User" -g "flair" -u 7777 -d /opt/flair -M -s /bin/bash flair && \
chown -R flair:flair /opt/flair && \
chown -R flair:flair /var/log/flair

USER flair

0 comments on commit 9bff423

Please sign in to comment.