Merge pull request #3532 from mayssagl/fix/email-templates-missing-from-dist
fix: copy email templates to dist during build
This commit is contained in:
1 file changed
+2
-2
@@ -19,10 +19,10 @@ WORKDIR /app/server
|
||||
|
||||
COPY server ./
|
||||
|
||||
|
||||
RUN npm install
|
||||
|
||||
RUN npm run build
|
||||
RUN cp -r src/templates dist/templates
|
||||
|
||||
COPY --from=frontend-build /app/client/dist ./public
|
||||
|
||||
@@ -30,4 +30,4 @@ RUN chmod +x ./scripts/inject-vars.sh
|
||||
|
||||
EXPOSE 52345
|
||||
|
||||
CMD ./scripts/inject-vars.sh && node ./dist/index.js
|
||||
CMD ./scripts/inject-vars.sh && node ./dist/index.js
|
||||
Reference in new issue
Block a user