Skip to content

chore: Clean up docker container and update tags#239

Merged
doomspork merged 17 commits intomainfrom
docker-improvements
Aug 2, 2025
Merged

chore: Clean up docker container and update tags#239
doomspork merged 17 commits intomainfrom
docker-improvements

Conversation

@doomspork
Copy link
Copy Markdown
Member

No description provided.

@doomspork doomspork requested a review from a team as a code owner August 1, 2025 16:54
Dockerfile Outdated
RUN mix compile

# Clean up unnecessary files after compilation to reduce image size
RUN rm -rf content \
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heads up, since this is only for building and the actual release layer is started down below FROM ${RUNNER_IMAGE}, this only changes the layer cache size. Not the final image size.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any suggestions you have are welcome. Doesn’t work as is, led to a 500 on fly

@doomspork doomspork force-pushed the docker-improvements branch 3 times, most recently from 02e440c to a7af370 Compare August 2, 2025 01:55
@doomspork doomspork force-pushed the docker-improvements branch from b732ece to 0533472 Compare August 2, 2025 02:10
@doomspork
Copy link
Copy Markdown
Member Author

Expanded the scope of this PR a bit. Need to clear up the deployment issue and we should be good to go.

@btkostner
Copy link
Copy Markdown
Member

I had to upgrade to newer elixir and erlang versions, but verified this builds and runs. You'll probably need to comment out the rel/env.sh.eex lines, build, and run with:

docker build -t elixirschool .
docker run --rm -e SECRET_KEY_BASE=jCiY2GgNpsIvLErXTYogq7QwL9gDE2eM8C6wW/557l4BXP/4QE+qC19pgPiTgasq -e LIVE_VIEW_SALT=jCiY2GgNpsIvLErXTYogq7QwL9gDE2eM8C6wW/557l4BXP/4QE+qC19pgPiTgasq -p 4000:4000 -it elixirschool

@doomspork doomspork merged commit 9b036d4 into main Aug 2, 2025
7 checks passed
@doomspork doomspork deleted the docker-improvements branch August 2, 2025 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants