update
This commit is contained in:
@ -1,5 +1,8 @@
|
||||
FROM node:20-slim
|
||||
|
||||
# Prisma Query Engine needs OpenSSL shared libraries
|
||||
RUN apt-get update -y && apt-get install -y openssl && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN corepack enable && corepack prepare pnpm@9.0.0 --activate
|
||||
|
||||
WORKDIR /app
|
||||
@ -18,7 +21,7 @@ COPY . .
|
||||
RUN pnpm build --filter=@coursecraft/api...
|
||||
|
||||
COPY docker/entrypoint-api.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
RUN sed -i 's/\r$//' /entrypoint.sh && chmod +x /entrypoint.sh
|
||||
|
||||
EXPOSE 3125
|
||||
CMD ["/entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user