mirror of
https://github.com/stonith404/pingvin-share.git
synced 2025-01-29 01:28:59 -05:00
Fix setup script function path
This commit is contained in:
parent
ded5ca4b51
commit
116c3403ff
2 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,7 @@ const zipDirectory = (functionName: string) => {
|
|||
{
|
||||
gzip: true,
|
||||
sync: true,
|
||||
cwd: `./../functions/${functionName}`,
|
||||
cwd: `./functions/${functionName}`,
|
||||
file: "code.tar.gz",
|
||||
},
|
||||
["./"]
|
||||
|
|
|
@ -23,6 +23,7 @@ RUN ncc build index.ts
|
|||
FROM node:16-alpine AS runner
|
||||
WORKDIR /opt/app
|
||||
ENV NODE_ENV=production
|
||||
COPY ./functions ./functions
|
||||
COPY --from=builder /opt/app/next.config.js ./
|
||||
COPY --from=builder /opt/app/public ./public
|
||||
COPY --from=builder /opt/app/.next ./.next
|
||||
|
|
Loading…
Add table
Reference in a new issue