mirror of
https://github.com/swissmakers/swiss-datashare.git
synced 2026-04-11 10:27:01 +02:00
Fix setup script function path
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user