mirror of
https://github.com/Snouzy/workout-cool.git
synced 2026-05-19 14:40:35 +00:00
fix: docker scripts path (#182)
This commit is contained in:
committed by
GitHub
parent
a329795c88
commit
dd997b9862
+4
-4
@@ -9,9 +9,9 @@ DATABASE_URL=postgresql://username:password@localhost:5432/workout-cool
|
||||
|
||||
# Authentication
|
||||
# The URL where your application is running
|
||||
BETTER_AUTH_URL="http://localhost:3000"
|
||||
BETTER_AUTH_URL=http://localhost:3000
|
||||
# Generate a secure random string using: openssl rand -base64 32
|
||||
BETTER_AUTH_SECRET="your-secret-key-here"
|
||||
BETTER_AUTH_SECRET=your-secret-key-here
|
||||
|
||||
# Google OAuth
|
||||
# Get these from Google Cloud Console: https://console.cloud.google.com
|
||||
@@ -26,7 +26,7 @@ NEXT_PUBLIC_OPENPANEL_CLIENT_ID=
|
||||
|
||||
# Environment
|
||||
# Options: development, production, test
|
||||
NODE_ENV="development"
|
||||
NODE_ENV=development
|
||||
|
||||
#SMTP Configuration
|
||||
# Using MailHog for example. https://github.com/mailhog/MailHog
|
||||
@@ -74,4 +74,4 @@ REVENUECAT_SECRET_KEY="test_secret_key"
|
||||
# Options: DISABLED, LICENSE_KEY, SUBSCRIPTION, FREEMIUM
|
||||
DEFAULT_BILLING_MODE="DISABLED"
|
||||
|
||||
NEXT_PUBLIC_APP_URL="http://localhost:3000"
|
||||
NEXT_PUBLIC_APP_URL=http://localhost:3000
|
||||
|
||||
+3
-3
@@ -29,10 +29,10 @@ COPY --from=builder /app/package.json ./package.json
|
||||
COPY --from=builder /app/prisma ./prisma
|
||||
COPY --from=builder /app/data ./data
|
||||
|
||||
COPY scripts /app
|
||||
RUN chmod +x /app/setup.sh
|
||||
COPY scripts /app/scripts
|
||||
RUN chmod +x /app/scripts/setup.sh
|
||||
|
||||
ENTRYPOINT ["/app/setup.sh"]
|
||||
ENTRYPOINT ["/app/scripts/setup.sh"]
|
||||
|
||||
EXPOSE 3000
|
||||
ENV PORT=3000
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ if [ "$SEED_SAMPLE_DATA" = "true" ]; then
|
||||
echo "Seed sample data enabled, importing sample data..."
|
||||
# Import exercises if CSV exists
|
||||
if [ -f "./data/sample-exercises.csv" ]; then
|
||||
npx tsx import-exercises-with-attributes.ts ./data/sample-exercises.csv
|
||||
npx tsx scripts/import-exercises-with-attributes.ts ./data/sample-exercises.csv
|
||||
else
|
||||
echo "No exercises sample data found, skipping import."
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user