mirror of
https://github.com/stonith404/pingvin-share.git
synced 2024-11-04 23:10:13 +01:00
Fix setup script function path
This commit is contained in:
parent
ded5ca4b51
commit
116c3403ff
@ -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…
Reference in New Issue
Block a user