Skip to content

Commit

Permalink
Various changes for Docker container
Browse files Browse the repository at this point in the history
.gitignore changed slightly to fix a minor issue, add requirements.txt
for possible future use in the Dockerfile, edit workflow file to work
with new image
  • Loading branch information
SirenGlitch committed Sep 22, 2023
1 parent 6d3974d commit 6b5f4a5
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 39 deletions.
27 changes: 27 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
**/__pycache__
**/.venv
**/.classpath
**/.dockerignore
**/.env
**/.git
**/.gitignore
**/.project
**/.settings
**/.toolstarget
**/.vs
**/.vscode
**/*.*proj.user
**/*.dbmdl
**/*.jfm
**/bin
**/charts
**/docker-compose*
**/compose*
**/Dockerfile*
**/node_modules
**/npm-debug.log
**/obj
**/secrets.dev.yaml
**/values.dev.yaml
LICENSE
README.md
4 changes: 2 additions & 2 deletions .github/workflows/build-executable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:

- name: Build Linux executable
run: |
docker pull sirenglitch/mygame:latest
docker run --rm -v $(pwd):/app sirenglitch/mygame:latest
docker pull sirenglitch/my_game:alpha
docker run --rm -v $HOME/my_game:/app sirenglitch/my_game:alpha
- name: Upload Linux executable artifact
uses: actions/upload-artifact@v2
Expand Down
56 changes: 19 additions & 37 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig
# Created by https://www.toptal.com/developers/gitignore/api/windows,visualstudiocode,jetbrains,pycharm,pycharm+all
# Edit at https://www.toptal.com/developers/gitignore?templates=windows,visualstudiocode,jetbrains,pycharm,pycharm+all
# Created by https://www.toptal.com/developers/gitignore/api/windows,visualstudiocode,pycharm,pycharm+all,pycharm+iml
# Edit at https://www.toptal.com/developers/gitignore?templates=windows,visualstudiocode,pycharm,pycharm+all,pycharm+iml

### JetBrains ###
### PyCharm ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

Expand Down Expand Up @@ -81,7 +81,7 @@ fabric.properties
# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

### JetBrains Patch ###
### PyCharm Patch ###
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721

# *.iml
Expand Down Expand Up @@ -115,7 +115,7 @@ fabric.properties
# https://plugins.jetbrains.com/plugin/8053-azure-toolkit-for-intellij
.idea/**/azureSettings.xml

### PyCharm ###
### PyCharm+all ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

Expand Down Expand Up @@ -164,33 +164,16 @@ fabric.properties

# Android studio 3.1+ serialized cache file

### PyCharm Patch ###
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721

# *.iml
# modules.xml
# .idea/misc.xml
# *.ipr

# Sonarlint plugin
# https://plugins.jetbrains.com/plugin/7973-sonarlint

# SonarQube Plugin
# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin

# Markdown Navigator plugin
# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced

# Cache file creation bug
# See https://youtrack.jetbrains.com/issue/JBR-2257
### PyCharm+all Patch ###
# Ignore everything but code style settings and run configurations
# that are supposed to be shared within teams.

# CodeStream plugin
# https://plugins.jetbrains.com/plugin/12206-codestream
.idea/*

# Azure Toolkit for IntelliJ plugin
# https://plugins.jetbrains.com/plugin/8053-azure-toolkit-for-intellij
!.idea/codeStyles
!.idea/runConfigurations

### PyCharm+all ###
### PyCharm+iml ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

Expand Down Expand Up @@ -239,14 +222,13 @@ fabric.properties

# Android studio 3.1+ serialized cache file

### PyCharm+all Patch ###
# Ignore everything but code style settings and run configurations
# that are supposed to be shared within teams.

.idea/*
### PyCharm+iml Patch ###
# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023

!.idea/codeStyles
!.idea/runConfigurations
*.iml
modules.xml
.idea/misc.xml
*.ipr

### VisualStudioCode ###
.vscode/*
Expand Down Expand Up @@ -293,7 +275,7 @@ $RECYCLE.BIN/
# Windows shortcuts
*.lnk

# End of https://www.toptal.com/developers/gitignore/api/windows,visualstudiocode,jetbrains,pycharm,pycharm+all
# End of https://www.toptal.com/developers/gitignore/api/windows,visualstudiocode,pycharm,pycharm+all,pycharm+iml

# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)

Expand Down
Binary file added requirements.txt
Binary file not shown.

0 comments on commit 6b5f4a5

Please sign in to comment.