rename project from SimpleshopTheme to Berrypod
All modules, configs, paths, and references updated. 836 tests pass, zero warnings. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
14
Dockerfile
14
Dockerfile
@@ -1,15 +1,15 @@
|
||||
# Lean Alpine-based image for SimpleshopTheme.
|
||||
# Lean Alpine-based image for Berrypod.
|
||||
#
|
||||
# Builder and runner both use Alpine (musl). The vix NIF is compiled against
|
||||
# Alpine's system libvips instead of the glibc-linked precompiled binary.
|
||||
#
|
||||
# Build: docker build -t simpleshop_theme .
|
||||
# Build: docker build -t berrypod .
|
||||
# Run: docker run --rm -p 4000:4000 \
|
||||
# -e SECRET_KEY_BASE=$(mix phx.gen.secret) \
|
||||
# -e DATABASE_PATH=/data/simpleshop_theme.db \
|
||||
# -e DATABASE_PATH=/data/berrypod.db \
|
||||
# -e PHX_HOST=localhost \
|
||||
# -v simpleshop_data:/data \
|
||||
# simpleshop_theme
|
||||
# -v berrypod_data:/data \
|
||||
# berrypod
|
||||
#
|
||||
# Images:
|
||||
# https://hub.docker.com/r/hexpm/elixir/tags?name=alpine
|
||||
@@ -101,12 +101,12 @@ RUN mkdir -p /data && chown appuser:appuser /data
|
||||
ENV MIX_ENV="prod"
|
||||
|
||||
# Copy the release from the builder
|
||||
COPY --from=builder --chown=appuser:appuser /app/_build/${MIX_ENV}/rel/simpleshop_theme ./
|
||||
COPY --from=builder --chown=appuser:appuser /app/_build/${MIX_ENV}/rel/berrypod ./
|
||||
|
||||
USER appuser
|
||||
|
||||
# Ensure /data is the default database location
|
||||
ENV DATABASE_PATH="/data/simpleshop_theme.db"
|
||||
ENV DATABASE_PATH="/data/berrypod.db"
|
||||
|
||||
EXPOSE 4000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user