fix: copy email templates to dist during build
This commit is contained in:
1 parent
5dda0b51c3
commit
14f76ec10b
1 file changed
+2
-2
@@ -19,10 +19,10 @@ WORKDIR /app/server
|
|||||||
|
|
||||||
COPY server ./
|
COPY server ./
|
||||||
|
|
||||||
|
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
RUN cp -r src/templates dist/templates
|
||||||
|
|
||||||
COPY --from=frontend-build /app/client/dist ./public
|
COPY --from=frontend-build /app/client/dist ./public
|
||||||
|
|
||||||
@@ -30,4 +30,4 @@ RUN chmod +x ./scripts/inject-vars.sh
|
|||||||
|
|
||||||
EXPOSE 52345
|
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