Skip to content

Commit

Permalink
Fix stupid docker stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
hschne committed Oct 9, 2024
1 parent 56ddb62 commit e2aade9
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 31 deletions.
53 changes: 27 additions & 26 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,42 +1,43 @@
# .dockerignore
# Version control
/.git
/.gitignore
.git
.gitignore

# Documentation and metadata
/README.md
/CHANGELOG.md
/LICENSE
/LICENSE.txt
README.md
CHANGELOG.md
LICENSE
LICENSE.txt
CODE_OF_CONDUCT.md

# Development and testing
/*.log
/.aider.*
/.idea/
/.rubocop.yml
/.ruby-lsp
/.vscode/
/.github/
/Procfile
/spec/
/test/
*.log
.aider.*
.idea/
.rubocop.yml
.ruby-lsp
.vscode/
.github/
Procfile
spec/
test/

# Temporary files and caches
/tmp/
/.sass-cache/
/.bundle/
tmp/
.sass-cache/
.bundle/

# Database files
/db/*.sqlite3*
db/*.sqlite3*

# Docker-specific
/Dockerfile
/.dockerignore
Dockerfile
.dockerignore

# Ruby-specific
/.ruby-version
/.ruby-gemset
.ruby-version
.ruby-gemset

# OS-specific
/.DS_Store
/Thumbs.db
.DS_Store
Thumbs.db
4 changes: 0 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ FROM base
COPY --from=builder /usr/local/bundle /usr/local/bundle
COPY . .

RUN useradd puny-monitor --shell /bin/bash && \
chown -R puny-monitor:puny-monitor db
USER puny-monitor:puny-monitor

ENV ROOT_PATH='/host'

EXPOSE 4567
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

require_relative "config/environment"
require "bundler/gem_tasks"

require "sinatra/activerecord/rake"

if PunyMonitor::App.development?
Expand Down

0 comments on commit e2aade9

Please sign in to comment.