fix: env
This commit is contained in:
@@ -21,6 +21,8 @@ FROM base AS release
|
||||
COPY --from=install /temp/prod/node_modules node_modules
|
||||
COPY --from=prerelease /usr/src/app/.next .next
|
||||
COPY --from=prerelease /usr/src/app/package.json .
|
||||
COPY --from=prerelease /usr/src/app/prisma prisma
|
||||
RUN bunx prisma generate
|
||||
|
||||
USER bun
|
||||
EXPOSE 3000/tcp
|
||||
|
||||
@@ -17,6 +17,8 @@ services:
|
||||
volumes:
|
||||
- db_data:/var/lib/postgresql/data
|
||||
app:
|
||||
env_file:
|
||||
- ./.env
|
||||
build: .
|
||||
ports:
|
||||
- "3900:3000"
|
||||
|
||||
Reference in New Issue
Block a user